Last modified: 2012-09-19 10:26:51 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.
*** This bug has been marked as a duplicate of bug 1575 ***