Last modified: 2014-07-11 00:45:59 UTC
Interwiki links to Wikisource from Wikisource do not function correctly. <nowiki>[[s:Main page]]</nowiki>, for example, leads to <u>/wiki/S:Main_page</u>. The usual response is to drop the prefix and load <u>/wiki/Main_page</u>. To reproduce this bug, see the link on [[s:User:Pathoschild/Sandbox3]]. The link on [[w:User:Pathoschild/Sandbox5]] is the usual response.
Note that the link to the Wikipedia sandbox fails because it apparently doesn't drop the prefix (although interwiki links from Wikipedia do). The fixed link is [[User:Pathoschild/Sandbox5]].
Interwiki prefixes to the same wiki behave inconsistently. URL prefixes to a different wiki always work: > http://en.wikipedia.org/wiki/m:Sandbox > http://en.wikipedia.org/wiki/w:Sandbox > http://meta.wikimedia.org/wiki/s:Sandbox URL prefixes to the same wiki fail in one of two ways: > with error: http://meta.wikimedia.org/wiki/m:Sandbox > silently: http://en.wikisource.org/wiki/s:Sandbox Wikilink prefixes to the same wiki fail on some wikis, work on others: > works: http://meta.wikimedia.org/wiki/User:Pathoschild/Sandbox?oldid=1914477 > fails: http://en.wikisource.org/wiki/User:Pathoschild/Sandbox?oldid=1832527
There are a couple of different issues here: * [[s:Foo]] isn't recognised on Wikisource, etc. A solution to bug 955, accompanied by a change to the Wikimedia interwiki scripts and an edit to InitialiseSettings.php, would fix this. * [[m:Foo]] gives a bad title error. This could be fixed by adjusting $wgLocalInterwiki in InitialiseSettings.php, which I will proceed to submit a patch for.
Change 111426 had a related patch set uploaded by TTO: Add local interwiki for metawiki https://gerrit.wikimedia.org/r/111426
Change 111426 merged by jenkins-bot: Add local interwiki for metawiki https://gerrit.wikimedia.org/r/111426
(In reply to Gerrit Notification Bot from comment #5) > Change 111426 merged by jenkins-bot: > Add local interwiki for metawiki > > https://gerrit.wikimedia.org/r/111426 That should be reverted, the m: prefix is used to produce interoperable links to Meta-Wiki pages which will work on any wiki including Meta-Wiki itself. That's no longer working.
Revert is I73b93d34779612384d74a22292647ad89d29d46d.
(In reply to Nemo from comment #6) > (In reply to Gerrit Notification Bot from comment #5) > > Change 111426 merged by jenkins-bot: > > Add local interwiki for metawiki > > > > https://gerrit.wikimedia.org/r/111426 > > That should be reverted, the m: prefix is used to produce interoperable > links to Meta-Wiki pages which will work on any wiki including Meta-Wiki > itself. That's no longer working. Could you explain *exactly* what was going wrong while this patch was in place?
(In reply to This, that and the other from comment #8) > (In reply to Nemo from comment #6) > > (In reply to Gerrit Notification Bot from comment #5) > > > Change 111426 merged by jenkins-bot: > > > Add local interwiki for metawiki > > > > > > https://gerrit.wikimedia.org/r/111426 > > > > That should be reverted, the m: prefix is used to produce interoperable > > links to Meta-Wiki pages which will work on any wiki including Meta-Wiki > > itself. That's no longer working. > > Could you explain *exactly* what was going wrong while this patch was in > place? Nemo? Tap tap on the shoulder?
(In reply to This, that and the other from comment #9) > Nemo? Tap tap on the shoulder? The links in question were not rendered at all, as if included in nowiki tags.
Thanks. It looks like bug 61357 was the problem. I'm sorry that I didn't realise that this would be a problem - look at the timestamps of comment 8 and bug 61357 comment 0, you'd think I'd have been smart enough to work it out myself!
Change 144264 had a related patch set uploaded by TTO: Add a complete list of local interwikis https://gerrit.wikimedia.org/r/144264
Change 144264 merged by jenkins-bot: Add a complete list of local interwikis https://gerrit.wikimedia.org/r/144264