Page MenuHomePhabricator

create a tool to view all statistics (including number of files) in a category and all of its subcategories
Closed, InvalidPublic

Description

Currently some categories have 5 or 10 files πŸ“ and a couple of sub-categories in Wikimedia Commons with a similar amount of files πŸ“in each sub-categories, while other categories have 0 files (meta-categories) but have sub-categories that can have a few hundred files πŸ“. Currently there isn't a way to see how much files are in a category if you would count ALL of the files πŸ“ in its sub-categories, sub-sub-categories, sub-sub-sub-categories, Etc. This would be mostly handy for maintenance β›‘πŸ» and for generating accurate statistics regarding certain subjects (for example the total number of images related to a certain human settlement or of a certain subject).

Event Timeline

DonTrung created this task.Jul 16 2018, 4:53 PM
Restricted Application added a subscriber: Aklapper. Β· View Herald TranscriptJul 16 2018, 4:53 PM
Aklapper closed this task as Invalid.Jul 16 2018, 5:05 PM
Aklapper added a project: MediaWiki-Categories.

This functionality already exists via https://www.mediawiki.org/wiki/API:Categorymembers (and anyone is free to visualize the results somehow).

For future reference, please structure your tasks into 1) Steps to reproduce including an example link, 2) expected outcome, and 3) actual outcome, plus check for existing project tags to add. See https://mediawiki.org/wiki/How_to_report_a_bug for more information. Thanks!