Page MenuHomePhabricator

gsw: language code sorted as als: in Wikidata
Closed, ResolvedPublicBUG REPORT

Description

image.png (365×548 px, 32 KB)

See https://www.wikidata.org/wiki/Q18677875#sitelinks-wikipedia

Also, there is some inconsistency:

See also T6793

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

Nikki added subscribers: Mbch331, Nikki.

The bad sorting is caused by the changes @Mbch331 made to the "site ID to interwiki" gadget in https://www.wikidata.org/w/index.php?diff=1822306725&oldid=1660205600

I've removed the mapping for gsw/als. I added it based on a request on the talk page of the gadget.

Since the "fix" is to remove the codes which are affected, I've removed the entire bit of code. The only one which doesn't sort incorrectly is be-tarask.

@Nikki is there a right way to use correct, not outdated language codes, by using not that script, but internal Wikidata mechanics?

Change 876295 had a related patch set uploaded (by Winston Sung; author: Winston Sung):

[mediawiki/extensions/Wikibase@master] Fix Wikibase Client getInterwikiCodeFromSite for WMF wikis

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