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

StatusSubtypeAssignedTask
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
StalledNone
OpenNone
OpenNone
OpenNone
StalledNone
InvalidNone
StalledNone
StalledNone
StalledNone
StalledNone
StalledFeatureNone
OpenNone
StalledFeatureNone
StalledFeatureNone
OpenFeatureNone
StalledNone
StalledNone
OpenNone
OpenWinston_Sung
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
ResolvedBUG REPORTMbch331
OpenNone
Resolved adrianheine
OpenNone
DuplicateNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
ResolvedTTO
InvalidNone
OpenNone
OpenNone
ResolvedNikerabbit
OpenNone
OpenFeatureNone
OpenBUG REPORTNone
OpenNone
ResolvedLadsgroup
DuplicateNone
OpenFeatureNone

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