Last modified: 2014-05-25 22:45:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T67755, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65755 - Special:CreateCategory page doesn't display empty categories in parent category dropdown
Special:CreateCategory page doesn't display empty categories in parent catego...
Status: UNCONFIRMED
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-25 22:24 UTC by damaxxed
Modified: 2014-05-25 22:45 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description damaxxed 2014-05-25 22:24:48 UTC
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
Comment 1 Yaron Koren 2014-05-25 22:45:56 UTC
Thanks for the bug report. I renamed it slightly, and changed the severity.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links