Last modified: 2009-06-04 08:49:41 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 T21074, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19074 - Interwiki links to specific wikibooks (de) are rendered with additional language code as namespace (de:pagename)
Interwiki links to specific wikibooks (de) are rendered with additional langu...
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.15.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://de.wikipedia.org/wiki/Hilfe:In...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-04 06:15 UTC by T. Gries
Modified: 2009-06-04 08:49 UTC (History)
1 user (show)

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


Attachments

Description T. Gries 2009-06-04 06:15:37 UTC
Example:

When I write [[b:de:Wikipedia-Lehrbuch|Wikipedia-Lehrbuch]] in de.wikipedia.org running version 1.15 alpha (r48811) this is rendered as 

- http://de.wikibooks.org/wiki/de:Wikipedia-Lehrbuch (wrong) instead of 
- http://de.wikibooks.org/wiki/Wikipedia-Lehrbuch (correct)
Comment 1 Happy-melon 2009-06-04 08:49:41 UTC
No, that's entirely the expected behaviour:

[[Foo]] --> http://de.wikipedia.org/wiki/Foo on dewiki, 
[[Foo]] --> http://es.wikisource.org/wiki/Foo on eswikisource, etc

[[de:Foo]] --> http://de.wikipedia.org/wiki/Foo on dewiki (but as an interwiki link)
[[de:Foo]] --> http://de.wikisource.org/wiki/Foo on eswikisource

[[b:Foo]] --> http://de.wikibooks.org/wiki/Foo on dewiki
[[b:Foo]] --> http://es.wikibooks.org/wiki/Foo on eswikisource

Only one interwiki prefix is ever expanded at a time; the rest of the prefixes are just tacked onto the URl; *but* if the next prefix is marked as 'local' in the target wiki's interwiki table, then interwiki prefixes in URLs are also expanded:

[[b:en:w:es:Foo]] --> http://de.wikibooks.org/wiki/en:w:es:Foo (on dewiki)
                   --> http://en.wikibooks.org/wiki/w:es:Foo
                    --> http://en.wikipedia.org/wiki/es:Foo
                     --> http://es.wikipedia.org/wiki/Foo

and that is the page that is actually displayed.

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


Navigation
Links