Page MenuHomePhabricator

List site ids and codes for Commons / special sites in wikidata site link section
Closed, ResolvedPublic

Description

Right now, the list of site links assumes language + site id and displays the links as such.

This is fine for Wikipedia / Wikivoyage, but more than awkward for Commons and special sites that really are multilingual.

The way we present Commons and special sites needs a bit of improvement. Listing them with site name and site id would be better in those cases.


Version: master
Severity: normal

Details

Reference
bz54492

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:13 AM
bzimport set Reference to bz54492.
bzimport added a subscriber: Unknown Object (MLST).

After some discussion, the Wikidata team agreed on the following:

  • There should be one section for all "special" sites on a data item page. "Special" wikis include commons, meta, mediawiki.org, etc.
  • In that section, the "Language" column should be replaced with a "Project" or "Name" column.
  • The project name should come from a system message based on the site ID, and should be translatable.
  • The selector used for picking a target site should also use the project names instead of languages.
  • The "special" sites could be marked as such by setting the "group" field in their entry in the sites table.
  • However, the group assigned to each site by the sites table should be the same as the group/family associated with the site via MediaWiki's wiki farm config facility.
  • As a stop gap, the set of "special" wikis could be defined by a configuration variable used by Wikibase.

Change 85982 had a related patch set uploaded by Tobias Gritschacher:
(bug 54492) Display a custom sitename for specific site groups

https://gerrit.wikimedia.org/r/85982

Change 85986 had a related patch set uploaded by Tobias Gritschacher:
Add msg for wm-commons sitename shown in Wikidata sitelinks-table

https://gerrit.wikimedia.org/r/85986

Change 85986 merged by jenkins-bot:
Add msg for wm-commons sitename shown in Wikidata sitelinks-table

https://gerrit.wikimedia.org/r/85986

Change 85982 merged by jenkins-bot:
(bug 54492) Display a custom sitename for specific site groups

https://gerrit.wikimedia.org/r/85982