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

Assigned To
None
Priority
Normal
Author
bzimport
Subscribers
wikibugs-l
Projects
Reference
bz9696
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

bzimport added a project: MediaWiki-Interface.Via ConduitNov 21 2014, 9:39 PM
bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz9696.
bzimport created this task.Via LegacyApr 25 2007, 7:14 PM
bzimport added a comment.Via ConduitApr 26 2007, 12:45 AM

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?

bzimport added a comment.Via ConduitJun 20 2007, 7:02 AM

robchur wrote:

Fixed in r23110.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.