https://bugzilla.wikimedia.org/show_bug.cgi?id=38374
Web browser: ---
Bug #: 38374
Summary: [patch] option to disallow selecting the top-level
category
Product: MediaWiki extensions
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: SelectCategory
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Mobile Platform: ---
Created attachment 10846
--> https://bugzilla.wikimedia.org/attachment.cgi?id=10846
patch (for latest SVN) to implement $wgSelectCategoryToplevelAllowed
The attached patch adds the config option $wgSelectCategoryToplevelAllowed.
If you set it to false, the checkbox for the top-level category will be hidden,
so users can only select sub-categories.
The reason for implementing this is that it doesn't make sense to add a page to
the top-level category in many cases.
For example, I have the top-level category "pictures" for the File: namespace,
and (nearly) all files would fit into this category. This means it doesn't make
sense to categorize all uploaded files as "pictures". Instead, the users
can/have to select one or more sub-category (for example "cat pictures") that
matches better.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l