Page MenuHomePhabricator

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

Event Timeline

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

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?