Last modified: 2007-12-31 11:20:32 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 T14462, the corresponding Phabricator task for complete and up-to-date bug report information.
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