$t = $wgTitle->getPrefixedText() . " (Diff: {$this->mOldid}, " .
"{$this->mNewid})";
- $mtext = wfMsg( 'missingarticle', $t );
+ $mtext = wfMsg( 'missingarticle', "<nowiki>$t</nowiki>" );
$wgOut->setArticleFlag( false );
if ( ! $this->loadText() ) {
$wgOut->setPagetitle( wfMsg( 'errorpagetitle' ) );
- $wgOut->addHTML( $mtext );
+ $wgOut->addWikitext( $mtext );
wfProfileOut( $fname );
return;
}
if ( ! $this->loadText() ) {
$t = $wgTitle->getPrefixedText() . " (Diff: {$this->mOldid}, " .
"{$this->mNewid})";
- $mtext = wfMsg( 'missingarticle', $t );
+ $mtext = wfMsg( 'missingarticle', "<nowiki>$t</nowiki>" );
$wgOut->setPagetitle( wfMsg( 'errorpagetitle' ) );
- $wgOut->addHTML( $mtext );
+ $wgOut->addWikitext( $mtext );
wfProfileOut( $fname );
return;
}