Page MenuHomePhabricator

[WIPR] [SPIKE] Handle translations of WikiProject names
Open, Needs TriagePublic

Description

We need to figure out if and how to handle showing WikiProject names in the sidebar links.

On the list of WikiProjects, the titles are mostly in English with a few in some other languages. Presumably, these titles come from whatever language the project was originally created in. Viewing the list page in different languages does not change which title is shown, even when a project does have a title in that language.

Some projects appear to be monolingual. Some, WikiProject Music for example, are multilingual and have titles in these many different languages.

open questions

  • Should we use existing translated project names in the sidebar, or just use whatever the default title is, regardless of language, for all users?
  • Should we support adding translated names for projects? how?
  • Given a url for a project, can we programmatically get the title in different languages?

Event Timeline

Some (but not all) of the projects have Items connected via a sitelink which have labels in different languages.
Example: https://www.wikidata.org/wiki/Q5830855

This could also work by using translations / language fallback rather than trying to source the translations from Item pages? We would still have "Relevant WikiProjects" in English and require translations for that section and as this is a test it would be much more technically simple this way. And we can reassess if / when we do a full release to all WikiProjects