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.
Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Different approach to localizing wiki names | mediawiki/extensions/WikimediaMessages | master | +562 -562 |
Event Timeline
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:
- Create a set of messages in WikimediaMessages extension with pattern name like interwiki-name-enwiki, interwiki-name-itwikisource, etc.
- Initialize these messages from Wikidata labels in English
- Import other labels for the same projects in other languages into respective language translations
- 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
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
Reason:
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.
It's not my intention to reopen. This bug, if accepted, would be a blocker. Currently it's declined, not my decision.