This feature request has three logically related facets:
- Hidden categories marked as HIDDENCAT should be marked as hidden in some way, e.g. <cl ns="14" title="Category:Move protected" hidden=""/>. Sample query is the URL for this bug. The current way of determining this is to get the text of the category page or through list=allcategories (either way, a cumbersome second query) because...
- ... prop=categoryinfo doesn't mention hidden status either (sample query: http://en.wikipedia.org/w/api.php?action=query&prop=categoryinfo&titles=Category:Move+protected).
- There should be an option to show/hide hidden categories on prop=categories, e.g. clshow={nothidden,hidden,both}. The current behaviour is both, hidden would return only hidden cats and nothidden only non-hidden cats.
Version: 1.14.x
Severity: enhancement
URL: http://en.wikipedia.org/w/api.php?action=query&prop=categories&cllimit=500&titles=Talk%3ABarack+Obama