Last modified: 2013-06-18 13:22:48 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 T31591, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29591 - oldwikisource language links point to Wikipedias rather than Wikisources
oldwikisource language links point to Wikipedias rather than Wikisources
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Interwiki links (Other open bugs)
unspecified
All All
: Highest critical with 4 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-26 05:28 UTC by Brendan McClure
Modified: 2013-06-18 13:22 UTC (History)
13 users (show)

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


Attachments

Description Brendan McClure 2011-06-26 05:28:54 UTC
Description: Language links on oldwikisource link to the appropriate Wikipedia rather than Wikisource.

Steps to reproduce: View [[oldwikisource:User:Prosody/a]].

Actual results: inline link to [[w:es:Don Quijote]].

Expected results: inline link to [[s:es:Don Quijote]].
Comment 1 Hydriz Scholz 2011-06-26 06:50:09 UTC
Well, this is due to the Old Wikisource being originally from a subdomain of wikipedia.org (sources.wikipedia.org) and the sysadmins just moved the database over to the new domain at wikisource.org, which explains the error.
Comment 2 billinghurst 2011-08-08 00:03:44 UTC
Might also explain why it does not sit within the same hierarchical domain structure for those with a secure login

https://secure.wikimedia.org/wikipedia/sources/wiki/Wikisource:Scriptorium

versus where it might be expected

https://secure.wikimedia.org/wikisource/sources/wiki/Wikisource:Scriptorium


cf. English Wikisource being at 
https://secure.wikimedia.org/wikisource/en/wiki/Wikisource:Scriptorium
Comment 3 Nemo 2011-08-17 09:58:02 UTC
(In reply to comment #2)
> Might also explain why it does not sit within the same hierarchical domain
> structure for those with a secure login

This is not a problem, it's just the current secure.wikimedia.org doesn't have any logic at all, that's why it's being replaced; let's not confuse things.
Comment 4 Nemo 2011-08-17 09:59:32 UTC
Because there is no link from here: this is a follow-up of bug 29534.
Comment 5 Doug 2011-10-10 16:39:48 UTC
This also affects external (i.e. non-WMF/private mediawiki wikis).  

Background: MW comes set up with default interwiki links per http://www.mediawiki.org/wiki/Manual:Interwiki#Default. So for example, if I make a link on my personal wiki (where I have left all the defaults intact) : [[wikipedia:Foo]] will link to http://en.wikipedia.org/wiki/Foo.  The same is true for [[wikiquote]], etc.  Except for wikisource.  [[wikisource:Foo]] will link to http://wikisource.org/wiki/Foo.  Although this is inconsistent, it's not directly a problem and is actually desirable as it's less Anglo-centric.

Problem:  [[wikisource:s:Foo]] will link to http://en.wikipedia.org/wiki/Foo.  To link to the english wikisource the link must be structured thus: [[wikisource:en:s:Foo]].  This is consistent with the problem above, as links from the multilingual (old) wikisource to subdomains must be structured [[s:en:Foo]]

Of course, there needs to be a plan to bot in the implementation of any fix, that is, to replace all the existing work around links with links that comply with the fixed format.
Comment 6 Candalua 2011-11-03 19:22:56 UTC
Please, can this be fixed? On Wikisource we are working for a stronger collaboration between subdomains, and we look at oldwikisource to become the central pillar of the Wikisource project. But if not even interwiki links do work as expected...
Comment 7 billinghurst 2011-11-04 00:12:38 UTC
Is it even possible for us to have an interwiki like [[:www:]] for the WS domain?
Comment 8 Roan Kattouw 2011-11-08 11:14:36 UTC
I fixed this by hacking a special case for sourceswiki into dumpInterwiki.php in r102388 and rebuilding the interwiki map.

This is fixed now, as you can see by previewing something like [[:de:Foo]] on sourceswiki. You may still see links with the old behavior because of the parser cache; purging or null-editing the page will fix that.
Comment 9 Hydriz Scholz 2011-11-08 11:17:46 UTC
Yup, verifying. Looks fixed to me on [[oldwikisource:User:Prosody/a]].
Comment 10 Nemo 2011-11-09 08:38:15 UTC
(In reply to comment #8)
> I fixed this by hacking a special case for sourceswiki into dumpInterwiki.php
> in r102388 and rebuilding the interwiki map.

I suppose this is related: https://wikisource.org/?diff=322190&oldid=322117
w: should point to en.wiki, although it's not so important.
Comment 11 Bawolff (Brian Wolff) 2011-11-09 14:25:17 UTC
(In reply to comment #10)
> (In reply to comment #8)
> > I fixed this by hacking a special case for sourceswiki into dumpInterwiki.php
> > in r102388 and rebuilding the interwiki map.
> 
> I suppose this is related: https://wikisource.org/?diff=322190&oldid=322117
> w: should point to en.wiki, although it's not so important.

Note, there are similar issues with the q:, n:, v: etc prefixes pointing to the sn language.
Comment 12 Roan Kattouw 2011-11-09 17:39:03 UTC
(In reply to comment #11)
> (In reply to comment #10)
> > (In reply to comment #8)
> > > I fixed this by hacking a special case for sourceswiki into dumpInterwiki.php
> > > in r102388 and rebuilding the interwiki map.
> > 
> > I suppose this is related: https://wikisource.org/?diff=322190&oldid=322117
> > w: should point to en.wiki, although it's not so important.
> 
> Note, there are similar issues with the q:, n:, v: etc prefixes pointing to the
> sn language.
Fixed in r102545, deployed, and interwiki cache rebuilt. Seems to be working now.
Comment 13 Candalua 2012-05-18 09:25:36 UTC
Reopening because links are currently pointing to Wikipedia again.
Comment 14 Candalua 2012-05-29 21:04:09 UTC
Please, any update on this? Currently all interwiki links on oldwikisource are broken.
Comment 15 This, that and the other (TTO) 2012-07-09 07:46:42 UTC
Seems to be working again?
Comment 16 Candalua 2012-07-09 07:54:01 UTC
Yes, I'm closing it. Many thanks to the unknown being that solved it.

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


Navigation
Links