Page MenuHomePhabricator

Add MediaWiki category support for JSON content
Open, Needs TriagePublic

Description

Currently, pages built from JSON content cannot be put into categories, preventing contributors to group them.

Based on work done for special fields like license and description, we could add a "categories" array at the root of the JSON, containing a list of categories the data belongs to.

Event Timeline

Change 543934 had a related patch set uploaded (by Peuc; owner: Peuc):
[mediawiki/extensions/JsonConfig@master] Add categories support for tabular content

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

Thanks for your review Reedy. I've updated the patch according to your comments.

Hello Aklapper, thanks for your contribution here and your email.
However, I'm not sure I'm not sure how you came to the conclusion I'm the blocking factor on this issue: the patch I've posted in 2019 is still waiting to be reviewed by a maintainer of the JsonConfig extension.
I'm still volunteer to work on it so it can be mainlined - or of course, discarded if it's not a wanted improvement. Since you're working for WMF, is there any chance you could raise a flag internally on this patch?

I'm reverting the tag from "Patch needs improvement" to "Patch for review" for now.

Setting Patch-Needs-Improvement as the patch in Gerrit has a merge conflict, so it needs improvement.
Per https://www.mediawiki.org/wiki/Developers/Maintainers , it seems that "Product Infrastructure" is supposed to steward the codebase. https://www.mediawiki.org/wiki/Wikimedia_Product/Component_responsibility#Extensions says that it's not actively developed... :-/

Removing task assignee due to inactivity, as this open task has been assigned for more than two years. See the email sent to the task assignee on February 06th 2022 (and T295729).

Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be welcome.

If this task has been resolved in the meantime, or should not be worked on ("declined"), please update its task status via "Add Action… 🡒 Change Status".

Also see https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator.

Category support for JSON content has also been discussed in T155290.

Reedy renamed this task from Add Mediawiki categories support for JSON content to Add Media£iki category support for JSON content.Aug 9 2022, 8:36 AM
Reedy renamed this task from Add Media£iki category support for JSON content to Add MediaWiki category support for JSON content.Aug 9 2022, 8:40 AM