r45872 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45871‎ | r45872 | r45873 >
Date:14:42, 18 January 2009
Author:siebrand
Status:ok
Tags:
Comment:
Switch parameters $2 and $3 for 'titleblacklist-forbidden-move' to fit the message ""$2" cannot be moved to "$3", because the title "$3" has been banned from creation."
Modified paths:
  • /trunk/extensions/TitleBlacklist/TitleBlacklist.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/TitleBlacklist/TitleBlacklist.hooks.php
@@ -46,8 +46,8 @@
4747 $message = 'titleblacklist-forbidden-move';
4848 $err = wfMsgWikiHtml( $message,
4949 htmlspecialchars( $blacklisted->getRaw() ),
50 - htmlspecialchars( $nt->getFullText() ),
51 - htmlspecialchars( $old->getFullText() ) );
 50+ htmlspecialchars( $old->getFullText() ),
 51+ htmlspecialchars( $nt->getFullText() ) );
5252 return false;
5353 }
5454 return true;

Status & tagging log