Last modified: 2014-11-03 18:16:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T74423, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72423 - Display site 'language' in site link view in user language
Display site 'language' in site link view in user language
Status: RESOLVED DUPLICATE of bug 37703
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
:
: 53022 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-23 13:16 UTC by Aude
Modified: 2014-11-03 18:16 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Aude 2014-10-23 13:16:25 UTC
(see https://www.wikidata.org/wiki/Wikidata:Project_chat#Language_column)

The "language" column in the site link view should display the "language" names in the user's language.

Right now, when viewing an item in English, we have:

Language   Code         Linked page

polski	plwiki		Nowy Jork

русский	ruwiki		Нью-Йорк


Instead, when viewing an item in English, we could have:

Language   Code         Linked page

Polish	plwiki		Nowy Jork

Russian	ruwiki		Нью-Йорк


For German, instead of "Polish" and "Russian", have those be however they are called in German.
Comment 1 Henning 2014-10-26 07:39:44 UTC
That was planned in the beginning already. It is, however, not just a simple front-end change. Since we are talking about site names that just happen to be language names in the scope of Wikidata, the database would need to contain all the translations for each site name.
A more robust alternative would be to radically change the way sites are stored by having sites stored as entities.

Regarding the specifics of Wikidata, the translations could be hacked in using ULS, though that should definitely be done in form of a gadget and not be part of the Wikibase code. The problematic part would be to enrich the site selector widget to allow typing in the languages in the user's language.
Comment 2 Henning 2014-10-26 07:40:26 UTC
*** Bug 53022 has been marked as a duplicate of this bug. ***
Comment 3 Ricordisamoa 2014-10-26 08:13:15 UTC
(In reply to Henning from comment #1)
> Regarding the specifics of Wikidata, the translations could be hacked in
> using ULS, though that should definitely be done in form of a gadget and not
> be part of the Wikibase code.

https://www.wikidata.org/wiki/User:Ricordisamoa/SitenamesInUserLanguage.js
Comment 4 Henning 2014-10-26 15:57:17 UTC
(In reply to Ricordisamoa from comment #3)
 
> https://www.wikidata.org/wiki/User:Ricordisamoa/SitenamesInUserLanguage.js

That is the easy part. :) It would be awesome to inject the language translations into the site selector widget in order to avoid inconsistency between displaying and entering sites. That would be the perfect Wikidata-specific gadget solution.

Regardless of that, I think storing sites as entities would be a great thing since site name translations could be provided via statements. But I guess that is some technical debt that will not resolve.
Comment 5 Lydia Pintscher 2014-11-03 18:16:52 UTC

*** This bug has been marked as a duplicate of bug 37703 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links