Page MenuHomePhabricator

Provide an easy way to localize links to some projects' main pages on the sidebar
Open, Needs TriagePublic

Description

If you go, for example, to Ukrainian wikis, and click on one of the links under "In other projects", namely Wikimedia Commons, Mediawiki, Meta-wiki or Wikispecies, you'll always get to the English versions of main pages there, while all these sites have localized ones for Ukrainian.

In this message on translatewiki it is stated that the links are chosen based on Wikidata data. The problem is that the appropriate Wikidata item doesn't allow localized names of the sites mentioned above. I tried to add a separate item for "said to be the same as", just like it had been done for German and Czech, but it didn't work. It doesn't work for German and Czech either.

I can see that only Russians managed to fix that, but I cannot figure out how they did that (perhaps it's been hardcoded somewhere?).

So my suggestion is either to enable the translation of the appropriate messages on translatewiki, or provide some Wikidata means to add the appropriate links.

Event Timeline

I can see that only Russians managed to fix that

Where can that be seen?

Go to any Russian wiki (e.g. Russian Wikipedia) and follow any of the links I mentioned, except MediaWiki (it's still in English for some reason) – you'll get to the appropriate projects' main pages in Russian.

UPD: I think I've figured out how they did this. They have a code to replace "/Main_page" with "/Заглавная_страница" here: MediaWiki:Sidebar-related.js.

@Amire80 I think it is connected to that language conjugation stuff you were doing, is it not?

Ah, no, my bad. I thought it is about names of all the wikis, like the ones used in Echo. Well but anyway bringing a l10n guy here is a good thing O:)

If I understand correctly, this is probably an issue to be resolved in the client part of the Wikibase extension, or maybe in wikidata.org itself.

This particular topic has already been reported into our bug tracking system as T111913, but please feel free to report any further issues you find. Further handling of the reported topic happens in T111913.

Quiddity reopened this task as Open.EditedJun 7 2019, 9:37 PM
Quiddity subscribed.

I'm re-opening this, because I believe it is a different feature-request from that given in T111913: [Story] In the "other projects" sidebar on multilingual wikis, link to wikis in the user language.

This task is asking to solve the use-case of:

Whereas the other task is asking:

  • As a user already at a multilingual wiki (e.g. Commons)
  • When I click on the link to a language-specific project (e.g. Wikipedia)
  • I expect to be taken to [the language edition that is set in my local/global preferences]
  • But it currently either:

IIUC (Iamnotadev!), both problems are essentially caused:

  1. because (e.g.) https://www.wikidata.org/wiki/Q21445585 ( French main page of a multilingual-project) is distinct from https://www.wikidata.org/wiki/Q5296 (Wikimedia Project Main Page),
  2. and possibly because some of the multilingual projects currently use different translation systems (i.e. Extension:Translate (used at Wikidata) --versus-- manually-created-&-synced-pages/subpages (used at Commons & Wikispecies))

but the tasks are asking for different things, so either they need to be mentioned in the same task description, or in two different tasks.

p.s. This feature was recently requested at https://meta.wikimedia.org/w/index.php?title=Tech&oldid=19140806#Changing_the_sidebar_%22In_other_projects%22_links