Last modified: 2014-07-11 00:45:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T7197, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 5197 - Interwiki links to the current wiki behave and fail inconsistently
Interwiki links to the current wiki behave and fail inconsistently
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Interwiki links (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: This, that and the other (TTO)
http://en.wikisource.org
:
Depends on: 955
Blocks:
  Show dependency treegraph
 
Reported: 2006-03-07 22:49 UTC by Jesse (Pathoschild)
Modified: 2014-07-11 00:45 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jesse (Pathoschild) 2006-03-07 22:49:45 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.
Comment 1 Jesse (Pathoschild) 2006-03-07 22:57:12 UTC
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]].
Comment 2 Jesse (Pathoschild) 2010-03-29 00:08:59 UTC
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
Comment 3 This, that and the other (TTO) 2014-02-05 07:00:59 UTC
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.
Comment 4 Gerrit Notification Bot 2014-02-05 09:00:08 UTC
Change 111426 had a related patch set uploaded by TTO:
Add local interwiki for metawiki

https://gerrit.wikimedia.org/r/111426
Comment 5 Gerrit Notification Bot 2014-02-13 23:26:59 UTC
Change 111426 merged by jenkins-bot:
Add local interwiki for metawiki

https://gerrit.wikimedia.org/r/111426
Comment 6 Nemo 2014-02-14 17:25:16 UTC
(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.
Comment 7 Kunal Mehta (Legoktm) 2014-02-14 19:13:23 UTC
Revert is I73b93d34779612384d74a22292647ad89d29d46d.
Comment 8 This, that and the other (TTO) 2014-02-14 23:54:34 UTC
(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?
Comment 9 This, that and the other (TTO) 2014-03-17 10:10:48 UTC
(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?
Comment 10 Nemo 2014-03-17 10:15:42 UTC
(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.
Comment 11 This, that and the other (TTO) 2014-03-17 11:24:18 UTC
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!
Comment 12 Gerrit Notification Bot 2014-07-05 11:04:20 UTC
Change 144264 had a related patch set uploaded by TTO:
Add a complete list of local interwikis

https://gerrit.wikimedia.org/r/144264
Comment 13 Gerrit Notification Bot 2014-07-10 18:26:34 UTC
Change 144264 merged by jenkins-bot:
Add a complete list of local interwikis

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links