Page MenuHomePhabricator

http://fr.wikipedia.org/wiki/wikisource:foo redirects to english wikisource instead of french
Closed, DeclinedPublic

Description

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.


Version: unspecified
Severity: enhancement

Details

Reference
bz61980

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:59 AM
bzimport set Reference to bz61980.
bzimport added a subscriber: Unknown Object (MLST).

Not a bug, that's by design. Full name points to English, one-letter/short name is relative to current language/project.

(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:.

popolon wrote:

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: ???

popolon wrote:

The link your given only point to same language, so are not concerned about this bug, the bug is in interlanguage case.