Last modified: 2007-06-20 07:02:26 UTC
I am trying to use the following parser function in the MediaWiki:Pagemovedtext message, but it seems to not work. {{#ifexist:Talk:$1/Comments|<span style="background-color: #ff0;"><big>IMPORTANT: You '''must''' [{{fullurl:Special:Movepage/Talk:$1/Comments|wpNewTitle=Talk:$2/Comments&wpReason=Moving+comments+page}} click this link] and move the current "Comments" page to reflect the new title.</big></span>}} This is for en.wikinews, by the way.
I'm fairly sure there's a bug open about the same problem in connection with {{urlencode:$1}} not working properly, but maybe this is unrelated. If it's the same issue, the problem is that #ifexist gets evaluated before $1 is substituted, so it just looks for the actual page [[wikinews:$1/Comments]], which presumably doesn't exist. What's the output, just nothing?
Fixed in r23110.