(bug 34832) Parse recentchangestext with the interface option off, since it comes...
authorTim Starling <tstarling@users.mediawiki.org>
Fri, 2 Mar 2012 04:52:16 +0000 (04:52 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Fri, 2 Mar 2012 04:52:16 +0000 (04:52 +0000)
includes/specials/SpecialRecentchanges.php

index f8828ea..bfc5248 100644 (file)
@@ -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
+               );
        }
 
        /**