From: Alexandre Emsenhuber Date: Wed, 20 Apr 2011 11:44:01 +0000 (+0000) Subject: Use OutputPage::addWikiMsg() instead of OutputPage::addHTML() with wfMsgExt() X-Git-Tag: 1.31.0-rc.0~30684 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=4ef3bd638ece7de28d9856cf62b3d4d35d81b7b1;p=lhc%2Fweb%2Fwiklou.git Use OutputPage::addWikiMsg() instead of OutputPage::addHTML() with wfMsgExt() --- diff --git a/includes/Article.php b/includes/Article.php index bd20b6e21b..1b1f46c2f8 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -4018,7 +4018,7 @@ class Article { $msg = $wgUser->isLoggedIn() ? 'noarticletext' : 'noarticletextanon'; - $wgOut->addHTML( wfMsgExt( $msg, 'parse' ) ); + $wgOut->addWikiMsg( $msg ); } $wgOut->addHTML( '' );