Last modified: 2013-03-02 20:39:02 UTC
Created attachment 10846 [details] 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.
Comment on attachment 10846 [details] patch (for latest SVN) to implement $wgSelectCategoryToplevelAllowed [Correcting MIME Type and setting patch flag]
Commited to git/gerrit.