From: Niklas Laxström Date: Sat, 22 Oct 2005 21:33:59 +0000 (+0000) Subject: mediawiki:missingarticle to wikitext X-Git-Tag: 1.6.0~1355 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=9c8890402300e2680fe4dac24d9483f16521d5d9;p=lhc%2Fweb%2Fwiklou.git mediawiki:missingarticle to wikitext --- diff --git a/includes/DifferenceEngine.php b/includes/DifferenceEngine.php index dc61864465..7b2cadb461 100644 --- a/includes/DifferenceEngine.php +++ b/includes/DifferenceEngine.php @@ -112,12 +112,12 @@ CONTROL; $t = $wgTitle->getPrefixedText() . " (Diff: {$this->mOldid}, " . "{$this->mNewid})"; - $mtext = wfMsg( 'missingarticle', $t ); + $mtext = wfMsg( 'missingarticle', "$t" ); $wgOut->setArticleFlag( false ); if ( ! $this->loadText() ) { $wgOut->setPagetitle( wfMsg( 'errorpagetitle' ) ); - $wgOut->addHTML( $mtext ); + $wgOut->addWikitext( $mtext ); wfProfileOut( $fname ); return; } @@ -221,9 +221,9 @@ CONTROL; if ( ! $this->loadText() ) { $t = $wgTitle->getPrefixedText() . " (Diff: {$this->mOldid}, " . "{$this->mNewid})"; - $mtext = wfMsg( 'missingarticle', $t ); + $mtext = wfMsg( 'missingarticle', "$t" ); $wgOut->setPagetitle( wfMsg( 'errorpagetitle' ) ); - $wgOut->addHTML( $mtext ); + $wgOut->addWikitext( $mtext ); wfProfileOut( $fname ); return; }