Last modified: 2014-06-04 16:24:42 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 T63980, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61980 - http://fr.wikipedia.org/wiki/wikisource:foo redirects to english wikisource instead of french
http://fr.wikipedia.org/wiki/wikisource:foo redirects to english wikisource i...
Status: RESOLVED WONTFIX
Product: Wikimedia
Classification: Unclassified
Interwiki links (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-27 01:46 UTC by Bawolff (Brian Wolff)
Modified: 2014-06-04 16:24 UTC (History)
6 users (show)

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


Attachments

Description Bawolff (Brian Wolff) 2014-02-27 01:46:08 UTC
popolon reports on irc that links like [[zh:wikisource:Foo]] do not work (Those types of links resolve to pages like http://zh.wikipedia.org/wiki/wikisource:foo, which should in turn http redirect to wikisource)

Expected behaviour: [[zh:wikisource:foo]] goes to https://zh.wikisource.org/foo
Actual behaviour: [[zh:wikisource:foo]] goes to https://en.wikisource.org/foo

Links of the form [[zh:s:Foo]] still work as expected.

popolon is quite sure that the [[zh:wikisource:Foo]] links worked as of Feb 8 as he made the edit at https://fr.wikipedia.org/w/index.php?title=Ge_Hong&diff=prev&oldid=101057358 , and wasn't sure how interwiki links worked so tested his edit carefully.

Based on http://pastebin.com/raw.php?i=suk6eGzF, there are 288 links on fr.wikipedia.org that are based on this assumption about how interlanguage interwikis work. There's also a further 1671 pages using [[wikisource:]] style links, which now link to the wrong project.

----
I don't see anything relavent in any apache config changes, mediawiki config change, or WikimediaMaintenance extension. [[meta:interwiki map]] links wikisource: to en.wikisource.org, but its done that for a while, last interwiki cache update was appearently jan 15. I think it is quite possible that interwiki map was being overriden somewhere in our complex system of interwiki links.
Comment 1 Nemo 2014-02-27 01:49:19 UTC
Not a bug, that's by design. Full name points to English, one-letter/short name is relative to current language/project.
Comment 2 PiRSquared17 2014-02-27 03:27:27 UTC
(In reply to Nemo from comment #1)
> Not a bug, that's by design. Full name points to English, one-letter/short
> name is relative to current language/project.

Nemo is correct. s: would point to frwikisource, wikisource: points to enwikisource, oldwikisource: points to www.wikisource.org (only project that does this).  This also applies to w: vs. wikipedia:.

I am WONTFIXing this as it is by design, and "fixing" it would break many links.

If we just look at frwiki (as including all wikis would be huge), we can compare http://tools.wmflabs.org/pirsquared/iw.php?wikis=frwiki&iw=wikisource&hideclosed=on (only 1671 rows) to http://tools.wmflabs.org/pirsquared/iw.php?wikis=frwiki&iw=s&hideclosed=on using a script (warning: 31724 row table) I wrote based on one Nemo used.  Clearly it is easier to fix the links on-wiki than to fix all wikisource iw links on each wiki to be wikisource:en:.
Comment 3 popolon 2014-06-04 16:21:36 UTC
The problem is not relative to the same language itself, but to the links to another wikisource language.

As said Bawolff This means there is no mean to link to another language wikisource ?
zh: for example is for sur to another language, it will never conflict with english link, that use en: don't understand how a zh: or ja: could redirect to en: ???
Comment 4 popolon 2014-06-04 16:24:42 UTC
The link your given only point to same language, so are not concerned about this bug, the bug is in interlanguage case.

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


Navigation
Links