Page MenuHomePhabricator

Scary transcluding URL broken
Closed, ResolvedPublic

Description

Author: steve

Description:
Scary transcluding seems to require an interwiki URL of the format
http://en.wikipedia.org/w/index.php?title=$1, since /wiki/ won't work with an
action=render added at the end.

However, Mediawiki is appending ?action=render to the URL instead of
&action=render so the interwiki URL I have supplied isn't working:

local.wiki.x8s.net 172.16.0.1 - - [04/Jan/2007:21:44:15 +0000] "GET
/index.php?title=Template%3AAFD?action=render HTTP/1.1" 200 7744

This is version 1.8.2 from SVN today (r18799).

includes\Parser.php line 3227:
$url .= "?action=$action";
I think should be:
$url .= "&action=$action";


Version: 1.8.x
Severity: normal
OS: Linux
Platform: PC

Details

Reference
bz8491

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:33 PM
bzimport set Reference to bz8491.
bzimport added a subscriber: Unknown Object (MLST).

robchur wrote:

This is fixed in trunk, and will be available in MediaWiki 1.9.0, to be released
later this month. There was some discussion on the mediawiki-l mailing list
regarding this issue.