WMDE-leszek created this task.
WMDE-leszek added a project: Wikidata-Campsite.
Restricted Application added a subscriber: Aklapper.
Restricted Application added a project: Wikidata.
TASK DESCRIPTION
Currently, Wikibase accepts only one way for sitelinks. their canonical
database name (their id in sites table).
It is not uncommon for WMF wikis to have their site ID changed
**Example: **"Belarussian Taraškievica" Wikipedia use to have a site ID
`be_x_oldwiki`, which is also wiki's database canonical name. At some point the
wiki has been renamed to `be-taraskwiki`. The `be_x_oldwiki` remained to be
stored in the database as a "canonical site ID", but it is `be-taraskwiki`
which is primarily used in the UI and expected in the user input (UI and API)
**Change requested: **There will be a configurable site ID aliases to be used
in favour of "canonical" site IDs
Acceptance criteria:
[ ] Configuration is open for more aliases to be added for other siteids
[ ] The canonical site ids are still used for storage in JSON and other
indexes.
[ ] Configuration is documented in options.md
[ ] Default Wikibase configuration does not have any aliases
[ ] WMF production config is adjusted so that
[ ] be_taraskwiki, and be-taraskwiki is accepted as an site identifier when
adding a sitelink to "Belarussian Taraškievica" Wikipedia (canonical site ID
be_x_oldwiki)
[ ] identifiers containing underscores, as well as be_x_oldwiki as still
accepted as site identifiers when adding a sitelink to a respective Wiki
Originally part of T114772 <https://phabricator.wikimedia.org/T114772>
TASK DETAIL
https://phabricator.wikimedia.org/T267793
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: WMDE-leszek
Cc: Aklapper, Ladsgroup, Addshore, WMDE-leszek, Akuckartz, Nandana, Lahi, Gq86,
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS,
Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs