Last modified: 2012-09-19 10:26:51 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 T42289, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40289 - #REDIRECT [[foo#{{PAGENAME}}]] does not expand PAGENAME
#REDIRECT [[foo#{{PAGENAME}}]] does not expand PAGENAME
Status: RESOLVED DUPLICATE of bug 1575
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.19.2
Other Linux
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: need-parsertest
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-16 23:22 UTC by Alan Post
Modified: 2012-09-19 10:26 UTC (History)
2 users (show)

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


Attachments

Description Alan Post 2012-09-16 23:22:29 UTC
I'm migrating several pages into one which goes like this:

* move the contents of page "barpage" to a section of page "foopage":

<++> foopage
==barpage==
Old Barpage contents.
<-->

* Create a redirect page on barpage pointing to the section where the contents were just moved:

<++> barpage[0]
#REDIRECT [[foopage#barpage]]
<-->

I expect to be able to say, on barpage:

<++> barpage[1]
#REDIRECT [[foopage#{{PAGENAME}}]]
<-->

but PAGENAME does not expand for some reason.  If I do this instead:

<++> barpage[2]
{{PAGENAME}}
#REDIRECT [[foopage#{{PAGENAME}}]]
<-->

suddenly both PAGENAME templates expand properly.

I would expect barpage[1] to expand PAGENAME, just like barpage[2] does.
Comment 1 Alexandre Emsenhuber [IAlex] 2012-09-19 10:26:51 UTC

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

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


Navigation
Links