Page MenuHomePhabricator

Create possibility of retrieving the name of certain Wikimedia project in any language
Closed, DeclinedPublic


If we wanted to refer (such as by link, or in search results, or any other way) to a certain Wikimedia project (such as German Wikipedia or Italian WikiNews) we need an ability to figure out what the name of the project is, automatically, and be able to translate it into user's content language for display.

Event Timeline

Smalyshev raised the priority of this task from to Needs Triage.
Smalyshev updated the task description. (Show Details)
Smalyshev added a project: Discovery.
Smalyshev added subscribers: Smalyshev, EBernhardson.

We can base it on either interwiki prefix or wiki's dbname, not sure which one is the best primary key in this case.

Current proposed solution, provided it turns out we do not have such list:

  1. Create a set of messages in WikimediaMessages extension with pattern name like interwiki-name-enwiki, interwiki-name-itwikisource, etc.
  2. Initialize these messages from Wikidata labels in English
  3. Import other labels for the same projects in other languages into respective language translations
  4. Incrementally work to improve the translations/coverage so every project has a proper name in every language

@Smalyshev Is this sufficient to unblock T112349? I thought we needed the entire "Showing results from X Wikipedia" string for that to match the mockup?

Change 241126 had a related patch set uploaded (by Smalyshev):
Different approach to localizing wiki names

EBernhardson claimed this task.

We are going to move forward with the alternative approach, if/when the correct handling of these names is possible we can revisit.

Change 241126 abandoned by Deskana:
Different approach to localizing wiki names

Abandoning since the associated task was declined. This may be restored at a later date for further work, but not for the foreseeable future.

@Nemo_bis: would you like to reopen this task? Blocking on closed declined task may not do much good.

@Nemo_bis: would you like to reopen this task? Blocking on closed declined task may not do much good.

It's not my intention to reopen. This bug, if accepted, would be a blocker. Currently it's declined, not my decision.