Page MenuHomePhabricator

Changing Interwiki selection priority
Closed, DeclinedPublic

Description

Now the interwiki priority for Mediawiki is

1-Transcluded tempate's local interwiki
2-locale interwiki (old style [[en:foo]] in the wiki text)
3-wikidata's lang links

Would you please change it inverse? 1-wikidata 2-locale interwiki 3-Transcluded tempate's local interwiki

I mean if the page had Transcluded template or old style interwiki it check the wikidata's at the first after that the old style interwiki and at the end Transcluded template

Now this bug cause: If the page has locale interwiki or Transcluded template (which has locale interwiki) the changes in wikidata doesn't have effect on wikipedia!

Also many of the Interwiki conflicts will be solved automatically (because they were solved in wikidata)!


Version: 1.22.0
Severity: enhancement

Details

Reference
bz55959

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 2:20 AM
bzimport set Reference to bz55959.
bzimport added a subscriber: Unknown Object (MLST).

Is there a _specific_ example why this is wanted, to better understand it?
Or how this is database related?

for example
http://en.wikipedia.org/w/index.php?title=2003_Mr._Olympia&diff=prev&oldid=576878378

or

http://en.wikipedia.org/w/index.php?title=2004_Mr._Olympia&diff=prev&oldid=576878367

the locale interwiki was wrong but the wikidata's is ok but before this revision it shows the wrong one!

or before
http://en.wikipedia.org/w/index.php?title=Template:Oldsmobile&diff=prev&oldid=576489983

the template's interwiki transcluded to articles which had correct interwiki in wikidata but this bug doesn't show the interwiki correctly!

in
http://en.wikipedia.org/w/index.php?title=Battle_of_Damghan_%281729%29&diff=578091934&oldid=568342456
The locale interwiki was incorrect but the wikidata's was correct and before this revision it shows the local's

About database:
Unfortunately this bug effected database and when you get a interlang query or work with API they show this bug like mediawiki's left sidebar.

I think it might be better to fix the bad links than to cover them up.

pinkampersand.wikimedia wrote:

A) This would make it *harder* to find bad interwikis left on pages, which is still something that needs to be done.

B) While the scenarios are fairly limited, there may be reasons that a project would want to override Wikidata links on a given page.

C) Most importantly, doing this without consensus from the global community, and from the local communities of the major-language projects, would provoke a major hissyfit. When Wikidata was set up, the agreement was that the local link capability would remain for the foreseeable future, and that projects would have total control over the degree to which they use Wikidata information.

Strongly recommend closing this as WONTFIX. If individual communities want to switch the link priority, they can discuss the matter internally and file bugs once there's a consensus.

[replacing wikidata keyword by adding CC - see bug 56417]

As Pink& said. The order in which it is now was consciously chosen and should not be changed.