Last modified: 2012-07-18 16:49:27 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 T40278, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38278 - Provide a filter to hide empty categories in list=allcategories
Provide a filter to hide empty categories in list=allcategories
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-10 16:58 UTC by Liangent
Modified: 2012-07-18 16:49 UTC (History)
5 users (show)

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


Attachments

Description Liangent 2012-07-10 16:58:01 UTC
Originally reported by an IRC user.

Now api.php?action=query&list=allcategories returns all rows in category table, while [[Special:Categories]] filters out empty categroies, which is confusing.
Comment 1 Liangent 2012-07-10 17:02:17 UTC
Bug 38279
Comment 2 Umherirrender 2012-07-13 14:49:09 UTC
related: bug 26411
Comment 3 Umherirrender 2012-07-13 17:48:03 UTC
With Gerrit change #15604 the same condition was added to list=allpages, which is already used on Special:Categories (cat_pages > 0).

Maybe that is enough to fix this bug.
Comment 4 Umherirrender 2012-07-18 16:49:27 UTC
You can use acmin=1 to exclude empty categories from list=allpages

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


Navigation
Links