Talk:WMDE Technical Wishes/Gendered Categories

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

RfC?[edit]

Presumably this is heading towards a technical RfC at some point? I'm not sure what value this page adds ahead of that process. Certainly, anything that will require a database schema change in core must go through that workflow and will be the best way to get input on strengths and weaknesses, especially on performance/scalability concerns which I imagine you will have. Jdforrester (WMF) (talk) 15:05, 5 August 2019 (UTC)

Thanks for the reminder! I'd be happy to present this as a technical RfC as needed, but didn't feel that we had anything concrete enough. Implementation "B" seems far-reaching and heavy-handed, and I agree that we should have discussions about each of the hook integrations. Implementation "A" however already has the precedent of Template:PhabT, which makes me think that the hard redirect side of the feature could be implemented without an RfC. The second part of the feature, my proposed workaround where an "alias" category can be used to permanently used to change labels on an article feels like a big community discussion and a small technical discussion, but the discussions would be in that order regardless so also not quite ready for an RfC. Please feel free to correct my assumptions, of course. Adamw (talk) 08:01, 6 August 2019 (UTC)

Multi-language categories[edit]

Multi-language categories on Commons seem like a closely related feature. The only thing that differs from a user experience perspective is the ability to see the category name in the user's language.

Unfortunately proposal A in its current form cannot address this requirement by itself - there needs to be a way to indicate the language of a category. Since you consider proposal B as risky, perhaps we can find some way to indicate from wikidata the association between languages and Commons categories.

Even if you won't implement the per-user display as part of this project, please make sure that you don't take any technical decisions that would make it hard to implement this later on. Strainu (talk) 16:26, 10 August 2019 (UTC)

Database-level representation[edit]

How would either of these be represented at the ParserOutput and database levels? For example, if you ask the API for the categories of the American director's biographical article with prop=categories, will it say "Theater director" or "Theatre director" (or both, like with template redirects)? Similarly, if you use generator=categories, which title(s) will it generate? If you ask for list=categorymembers for "Theater director", will it return nothing, or only the Americans, or follow the redirect before returning the members?

For "Implementation B", I also note that the syntax you suggest is already being used for specifying a non-default sortkey. As for using Wikidata, keep in mind that non-Wikimedia wikis without a local Wikidata available do still exist. Anomie (talk) 18:02, 13 August 2019 (UTC)