Page MenuHomePhabricator

Include hidden status in category RDF
Closed, ResolvedPublic


In T157676 the first iteration of categories in RDF in the graph engine is being build. A nice addition would include if a category is hidden. On Commons we have normal "topic" categories that are not hidden like and tracking categories for all sorts of things like or . In a lot of cases when querying the category tree, for example when filtering out overcategorization ( T110833 ), being able to filter out these hidden categories is needed.

A lot of the other wiki's use hidden categories in a similar way. The hidden status of a category is already stored in a page_prop so some code can probably be re-used there (Wikibase page_props end up in RDF already).

Event Timeline

Change 392173 had a related patch set uploaded (by Smalyshev; owner: Smalyshev):
[mediawiki/core@master] Add more data to categories dump

Smalyshev triaged this task as Medium priority.

Change 392173 merged by jenkins-bot:
[mediawiki/core@master] Add more data to categories dump

Code is merged, will be deployed with next train (Feb 7) and the dump of Feb 12 should contain the new data.