r23515 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23514‎ | r23515 | r23516 >
Date:18:18, 28 June 2007
Author:robchurch
Status:old
Tags:
Comment:
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.)
Modified paths:
  • /trunk/phase3/includes/SpecialMovepage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialMovepage.php
@@ -278,7 +278,8 @@
279279 $olink = $wgUser->getSkin()->makeKnownLinkObj( $old, '', 'redirect=no' );
280280 $nlink = $wgUser->getSkin()->makeKnownLinkObj( $new );
281281
282 - $wgOut->addHtml( wfMsgExt( 'movepage-moved', array( 'parseinline', 'replaceafter' ), $olink, $nlink ) );
 282+ $wgOut->addHtml( wfMsgExt( 'movepage-moved', array( 'parseinline', 'replaceafter' ),
 283+ $olink, $nlink, $old->getPrefixedText(), $new->getPrefixedText() ) );
283284
284285 if ( $talkmoved == 1 ) {
285286 $wgOut->addWikiText( wfMsg( 'talkpagemoved' ) );

Follow-up revisions

RevisionCommit summaryAuthorDate
r23581Merged revisions 23406-23580 via svnmerge from...david04:50, 30 June 2007

Status & tagging log