Parser functions in MediaWiki:pagemovedtext don't work
Closed, ResolvedPublic

Description

Author: zach+bugs

Description:
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.


Version: 1.10.x
Severity: normal

Details

Reference
bz9696
bzimport set Reference to bz9696.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Apr 25 2007, 7:14 PM

ayg wrote:

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?

robchur wrote:

Fixed in r23110.

Add Comment