Page MenuHomePhabricator

Preload not working for MediaWiki namespace
Closed, ResolvedPublic

Description

From: http://lists.wikimedia.org/pipermail/wikitech-l/2009-August/044705.html
Helder wrote:

When we go to links such as:
http://pt.wikibooks.org/w/index.php?action=edit&preload=Project:About&title=test
http://pt.wikibooks.org/w/index.php?action=edit&preload=Project:About&title=MediaWiki:test
we note that both "test"and "MediaWiki:test" doesn't exist. But using the
preload parameter for the first page we get the text "#REDIRECT [[wikibooks:Sobre]]"
preloaded although for the second we don't.

Helder


Version: unspecified
Severity: enhancement
URL: http://pt.wikibooks.org/w/index.php?action=edit&preload=Project:About&title=MediaWiki:test

Details

Reference
bz20836

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:51 PM
bzimport set Reference to bz20836.
bzimport added a subscriber: Unknown Object (MLST).

Done in r57055. Note: this works only when the message doesn't exist, to emulate preload only working when the page doesn't exist.

(In reply to comment #0)

using the preload parameter for the first page we get the text "#REDIRECT [[wikibooks:Sobre]]"

For the record this now preloads the redirect target's code, not the redirect's code.