From: Zheng Zhu Date: Fri, 14 Jan 2005 03:24:37 +0000 (+0000) Subject: bug 1326: Use content language for '1movedto2' in edit history. X-Git-Tag: 1.5.0alpha1~947 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=1ddf65ff46a4ed98fc040a599b08ff25f6e7f296;p=lhc%2Fweb%2Fwiklou.git bug 1326: Use content language for '1movedto2' in edit history. --- diff --git a/includes/Title.php b/includes/Title.php index 462afbba1b..bdc57caaca 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1400,7 +1400,7 @@ class Title { /* private */ function moveOverExistingRedirect( &$nt ) { global $wgUser, $wgLinkCache, $wgUseSquid, $wgMwRedir; $fname = 'Title::moveOverExistingRedirect'; - $comment = wfMsg( '1movedto2', $this->getPrefixedText(), $nt->getPrefixedText() ); + $comment = wfMsgForContent( '1movedto2', $this->getPrefixedText(), $nt->getPrefixedText() ); $now = wfTimestampNow(); $won = wfInvertTimestamp( $now ); @@ -1527,7 +1527,7 @@ class Title { global $wgUser, $wgLinkCache, $wgUseSquid; global $wgMwRedir; $fname = 'MovePageForm::moveToNewTitle'; - $comment = wfMsg( '1movedto2', $this->getPrefixedText(), $nt->getPrefixedText() ); + $comment = wfMsgForContent( '1movedto2', $this->getPrefixedText(), $nt->getPrefixedText() ); $newid = $nt->getArticleID(); $oldid = $this->getArticleID();