Last modified: 2007-12-31 11:20:32 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 12462 - pages with interwiki prefixes cannot be passed directly to index.php
pages with interwiki prefixes cannot be passed directly to index.php
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.11.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-31 02:44 UTC by CBM
Modified: 2007-12-31 11:20 UTC (History)
1 user (show)

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


Attachments

Description CBM 2007-12-31 02:44:19 UTC
Attempting to directly load a page with an interwiki prefix fails with an 'unsupported character' error, while directly loading an interlanguage page works as expected. Example:

This link works:    http://en.wikipedia.org/w/index.php?title=fr:Main_page

This link does not work:    http://en.wikipedia.org/w/index.php?title=mw:Main_page

Both titles work identically when typed into the search box; it's only when they are typed directly into the URL that the difference is noticeable.
Comment 1 CBM 2007-12-31 03:49:19 UTC
The behavior appears to come from line 152 of Wiki.php, where a test for local interwikis is used to prevent redirect loops. Also possibly related to bug 850 (thanks to Splarkla on IRC for help with this).
Comment 2 Roan Kattouw 2007-12-31 11:20:32 UTC
This behavior is intended. Interwiki prefixes defined as local in the interwiki table display the behavior you demonstrated on fr: , non-local prefixes behave like mw: does. See also the blurb on iw_local at http://www.mediawiki.org/wiki/Interwiki_table

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


Navigation
Links