From: Tim Starling Date: Fri, 2 Mar 2012 04:52:16 +0000 (+0000) Subject: (bug 34832) Parse recentchangestext with the interface option off, since it comes... X-Git-Tag: 1.31.0-rc.0~24428 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=ded4b4baa6687fc2f76f00b6498fa2f65aa3048d;p=lhc%2Fweb%2Fwiklou.git (bug 34832) Parse recentchangestext with the interface option off, since it comes from wfMsgForContent() --- diff --git a/includes/specials/SpecialRecentchanges.php b/includes/specials/SpecialRecentchanges.php index f8828ea3ff..bfc5248dda 100644 --- a/includes/specials/SpecialRecentchanges.php +++ b/includes/specials/SpecialRecentchanges.php @@ -634,10 +634,13 @@ class SpecialRecentChanges extends IncludableSpecialPage { function setTopText( FormOptions $opts ) { global $wgContLang; $this->getOutput()->addWikiText( - Html::rawElement( 'p', - array( 'lang' => $wgContLang->getCode(), 'dir' => $wgContLang->getDir() ), - "\n" . wfMsgForContentNoTrans( 'recentchangestext' ) . "\n" - ), false ); + Html::rawElement( 'p', + array( 'lang' => $wgContLang->getCode(), 'dir' => $wgContLang->getDir() ), + "\n" . wfMsgForContentNoTrans( 'recentchangestext' ) . "\n" + ), + /* $lineStart */ false, + /* $interface */ false + ); } /**