Page MenuHomePhabricator

action=parse returns category list that does not label hidden categories
Closed, ResolvedPublic

Description

The list of categories returned by action=parse does not have any xml attributes marking those categories as hidden (when they are hidden).

http://en.wikipedia.org/w/api.php?action=parse&page=Voyager_1

Presumably this information is available at this point since asking for categorieshtml returns them sorted by hidden/non hidden.

http://en.wikipedia.org/w/api.php?action=parse&page=Voyager_1&prop=categorieshtml

I know this information is available in action=query, but it is preferable to have this information returned by action=parse along with the page so only a single query needs to be made.


Version: 1.20.x
Severity: enhancement

Details

Reference
bz54884

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 2:34 AM
bzimport added a project: MediaWiki-API.
bzimport set Reference to bz54884.
bzimport added a subscriber: Unknown Object (MLST).

Change 87187 had a related patch set uploaded by Anomie:
API: Have action=parse indicate hidden categories

https://gerrit.wikimedia.org/r/87187

Change 87187 merged by jenkins-bot:
API: Have action=parse indicate hidden categories

https://gerrit.wikimedia.org/r/87187

Anomie added a comment.Nov 5 2013, 2:54 PM

Change is merged. It should be deployed to WMF wikis with 1.23wmf3, see https://www.mediawiki.org/wiki/MediaWiki_1.23/Roadmap for the schedule.