Page MenuHomePhabricator

Local interlanguage links on multilingual Wikisource are added to Wikidata-based ones instead of replacing them
Open, Needs TriagePublicBUG REPORT

Description

Steps to reproduce

  1. Go to https://wikisource.org/wiki/Wikisource:WS_Export
  2. Look at the interlanguage links section in the sidebar.

Actual result

  1. All languages appear twice, once from Wikidata directly and once added by Module:Interwiki.

Expected result

  1. All languages appear only once, with the target defined by the module. (Which is the same as targets defined by Wikibase, as the module also depends on Wikidata, but they could theoretically be different.)

Event Timeline

Michael subscribed.

Not sure, but is this missing {{noexternallanglinks}}?

That being said, could you elaborate on what the motivation behind the module is?

Not sure, but is this missing {{noexternallanglinks}}?

{{noexternallanglinks}} shouldn’t be necessary. If a local interlanguage link is defined, it should override the Wikibase-based one even without the magic word; this works on every other wiki. (E.g. https://hu.wikipedia.org/w/index.php?title=E-d%C3%BAr_heged%C5%B1verseny_(Johann_Sebastian_Bach)&oldid=21583931 shows only the local interlanguage link [[de:Violinkonzerte (Bach)#Violinkonzert E-Dur BWV 1042]] and automatically hides the Wikidata-based [[de:BWV 1042]].)

That being said, could you elaborate on what the motivation behind the module is?

The historical motivation behind the module is that Wikidata hasn’t supported multilingual Wikisource for a long time (T275958).

The reason why I didn’t remove the module call once Wikidata started supporting multilingual Wikisource is that on translations like https://wikisource.org/wiki/Wikisource:WS_Export/de, only the module works (this is not specific to multilingual Wikisource; simply translations are different pages and Wikibase Client handles them as such).