https://bugzilla.wikimedia.org/show_bug.cgi?id=65755

            Bug ID: 65755
           Summary: Special:Create_Category page doesn't display empty
                    categories in parent_category dropdown
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: major
          Priority: Unprioritized
         Component: SemanticForms
          Assignee: [email protected]
          Reporter: [email protected]
       Web browser: ---
   Mobile Platform: ---

The Special:Create_Category page has a list with parent directories to choose
from. This list does NOT include empty categories (with neither pages nor
subcategories in them).

This error occurs in SF_CreateCategory.php@L118  which queries
SF_Utils::getCategoriesForPage() in SF_Utils.php@L119. This function queries
the "categorylinks" table, which only contains links to non-empty categories.

SF_CreateCategory.php
https://github.com/JeroenDeDauw/SemanticForms/blob/master/specials/SF_CreateCategory.php#L118
SF_Utils::getCategoriesForPage()
https://github.com/JeroenDeDauw/SemanticForms/blob/master/includes/SF_Utils.php#L119

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to