Page MenuHomePhabricator

#REDIRECT including {{SITENAME}} broken
Closed, ResolvedPublic

Description

Author: webmaster

Description:
The code on my example url is:

#redirect [[{{SITENAME}}:Protected page guidelines]]

It should redirect to the MarvelDatabase:Protected page guidelines page, but
instead it renders:

  1. redirect MarvelDatabase:Protected page guidelines

(As if I was using the '#' symbol to create a numbered list.)

  1. foo
  2. bar
  3. etc

Version: unspecified
Severity: minor
URL: http://www.marveldatabase.com/wiki/index.php/MarvelDatabase:Protected_page

Details

Reference
bz4882

Event Timeline

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

A redirect target needs to be raw plain text because it's extracted
directly, not rendered as wikitext.

If you want a generic name for the project namespace, use 'Project:'
which is the standard alias for it.

gangleri wrote:

REOPENing and marking as a duplicate of
Bug 1575: #REDIRECT with transcluded string does not redirect

*note*
{{SITENAME}} does not change (quite often). If you need some "page source" to
insert in more the one wikies please tray:

#REDIRECT [[{{SUBST:SITENAME}}:Protected page guidelines]]

This worked at http://idler.paivola.fi/betawiki/talk:Foo .

best regards reinhardt [[user:gangleri]]

gangleri wrote:

*** This bug has been marked as a duplicate of 1575 ***