Last modified: 2005-12-01 07:54:04 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 T6122, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4122 - Interwiki links in MediaZilla all point to English Wikipedia
Interwiki links in MediaZilla all point to English Wikipedia
Status: RESOLVED WORKSFORME
Product: Wikimedia
Classification: Unclassified
Bugzilla (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-11-30 22:54 UTC by Chris McKenna
Modified: 2005-12-01 07:54 UTC (History)
0 users

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


Attachments

Description Chris McKenna 2005-11-30 22:54:11 UTC
the link [[de:MediaWiki:Copyrightwarning]] should take you to 
http://de.wikipedia.org/wiki/MediaWiki:Copyrightwarning 
but actually takes you to 
http://en.wikipedia.org/wiki/de:MediaWiki:Copyrightwarning

the same is true of links that start en: e.g.
[[en:MediaWiki:Copyrightwarning]]
takes you to
http://en.wikipedia.org/wiki/en:MediaWiki:Copyrightwarning
not
http://en.wikipedia.org/wiki/MediaWiki:Copyrightwarning

This also happens with other projects eg. commons: wiktionary:

Sometimes when you acutally view the wrong urls the actualyl take you to the
right place, but not always.
Comment 1 lɛʁi לערי ריינהארט 2005-11-30 22:59:14 UTC
(In reply to comment #0)
> the link [[de:MediaWiki:Copyrightwarning]] should take you to 
> http://de.wikipedia.org/wiki/MediaWiki:Copyrightwarning 
> but actually takes you to 
> http://en.wikipedia.org/wiki/de:MediaWiki:Copyrightwarning

This is normal behaviour because http://en.wikipedia.org/ is a "gateway". The
result / the displayed page WORKSFORME.

regards reinhardt [[user:gangleri]]
Comment 2 Rowan Collins [IMSoP] 2005-11-30 23:13:12 UTC
Indeed, I think this is intended behaviour - it eliminates the need to
synchronise the interwiki details wherever they're used whenever a new wiki is
set up; indeed, in this case, it eliminates the need for the custom "MediaZilla"
code to know anything about interwiki syntax at all, because it can just
substitute onto an en.wikipedia URL and let MediaWiki figure the rest out. I
believe it also underlies to some extent the complex logic of things like
[[w:Foo]], [[w:en:Foo]], [[w:fr:Foo]], etc.

If you can give some examples where it *doesn't* work, they may indicate a bug
in MediaWiki itself, or in its configuration.


[BTW, it's also nifty for using bookmark keywords - I have "wg" set as a keyword
for "http://en.wikipedia.org/wiki/%s" in Mozilla, and can type things like "wg
meta:multimedia" and get to the appropriate page, although the redirection can
sometimes be slow under heavy server load...]
Comment 3 Rob Church 2005-12-01 01:23:31 UTC
(In reply to comment #0)rning
> Sometimes when you acutally view the wrong urls the actualyl take you to the
> right place, but not always.

If this is the case, please provide examples...?

Comment 4 Chris McKenna 2005-12-01 07:54:04 UTC
Of course when I come to test it everything works hunky dory! Thinking on this
and reading the last paragraph of comment #2 I'm guessing that most/all of the
failures have been at times of very high server load on en and/or the target wiki. 

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


Navigation
Links