From: Rob Church Date: Thu, 28 Jun 2007 18:18:42 +0000 (+0000) Subject: Pass the two titles in plain text as (unused per default) parameters $3 and $4 to... X-Git-Tag: 1.31.0-rc.0~52352 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=2c62183a5dd135fb3fd6d2b7ab71edf563392625;p=lhc%2Fweb%2Fwiklou.git Pass the two titles in plain text as (unused per default) parameters $3 and $4 to allow additional goodies in the message (parser functions, extra links etc.) --- diff --git a/includes/SpecialMovepage.php b/includes/SpecialMovepage.php index 49c91979f7..5ebf1e67b9 100644 --- a/includes/SpecialMovepage.php +++ b/includes/SpecialMovepage.php @@ -278,7 +278,8 @@ class MovePageForm { $olink = $wgUser->getSkin()->makeKnownLinkObj( $old, '', 'redirect=no' ); $nlink = $wgUser->getSkin()->makeKnownLinkObj( $new ); - $wgOut->addHtml( wfMsgExt( 'movepage-moved', array( 'parseinline', 'replaceafter' ), $olink, $nlink ) ); + $wgOut->addHtml( wfMsgExt( 'movepage-moved', array( 'parseinline', 'replaceafter' ), + $olink, $nlink, $old->getPrefixedText(), $new->getPrefixedText() ) ); if ( $talkmoved == 1 ) { $wgOut->addWikiText( wfMsg( 'talkpagemoved' ) );