Page MenuHomePhabricator

Add `en-simple => simple` to dumpInterwiki.php
Closed, ResolvedPublic

Description

Suggested by Jura1 here: https://www.wikidata.org/w/index.php?title=Wikidata:Contact_the_development_team&oldid=1424101007#Add_%22en-simple%22_to_$languageAliases

The aim is to let interwiki links like [[en-simple:Something]] work (i.e. return the same as [[simple:Something]]), since en-simple is the language code (correctly) returned by the Wikidata query service.

Event Timeline

Change 692859 had a related patch set uploaded (by Jon Harald Søby; author: Jon Harald Søby):

[mediawiki/extensions/WikimediaMaintenance@master] Add `en-simple => simple` to $languageAliases

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

@Addshore @Lucas_Werkmeister_WMDE Could you have a look at this? I'm not sure if this could have any side-effects elsewhere.

I don’t really see what this has to do with Wikidata…? This is a general Wikimedia config change, as far as I can tell.

I don’t really see what this has to do with Wikidata…? This is a general Wikimedia config change, as far as I can tell.

It's based on trying to make a change in links in the query service (see linked on-wiki request). As I don't know if that'll blow up anywhere else in WD I'm trying to double check. If not that's cool.

Ladsgroup added a subscriber: Ladsgroup.

Once this is deployed, let me know and I'll make a new interwiki map. Either in two weeks or make me backport it next week.

Change 692859 merged by jenkins-bot:

[mediawiki/extensions/WikimediaMaintenance@master] Add `en-simple => simple` to $languageAliases

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

@Ladsgroup What's needed to get this deployed?

Rebuilding interwiki cache. It's rather simple but it's no-deploy week (WMF allhands). I'll do it on Monday.

Great. The sample on Wikidata went from red to blue.

Thanks to all of you.