Extension talk:RequireCategory

From MediaWiki.org
Jump to: navigation, search
The following discussion has been transferred from Meta-Wiki.
Any user names refer to users of that site, who are not necessarily users of MediaWiki.org (even if they share the same username).

Unfortunately with 1.6.6 and with the patch Installed... the extension returns a 0 and not the message itself... any ideas? teddy

This extension does not work with section editing. It does not let you save the section without adding a category even though the category was added to the page.

Sue

[edit] Section edit

Does this mean, you cant save a section-edit, unless u insert a category in the section you are actually edit? --Nyks 18:16, 29 November 2006 (UTC)

Yes. Patches are welcomed :-) Hendrik Brummermann 89.22.76.183 15:13, 29 December 2006 (UTC)

/* Add MarS2701 */
I've started a try to fix this problem. RequireCategory

[edit] Link to fix doesnt work

Does anybody have a working link to a version which fixes the section-problem?

[edit] Fix Section edit

To don't showing message when you are editing a partial page, change the editFilterRequireCategory function.

Do this:

if ($wgTitle->getNamespace() != NS_MAIN || $section) { return true; }

Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox