https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112873

Revision: 112873
Author:   tstarling
Date:     2012-03-02 04:52:16 +0000 (Fri, 02 Mar 2012)
Log Message:
-----------
(bug 34832) Parse recentchangestext with the interface option off, since it 
comes from wfMsgForContent()

Modified Paths:
--------------
    trunk/phase3/includes/specials/SpecialRecentchanges.php

Modified: trunk/phase3/includes/specials/SpecialRecentchanges.php
===================================================================
--- trunk/phase3/includes/specials/SpecialRecentchanges.php     2012-03-02 
04:00:58 UTC (rev 112872)
+++ trunk/phase3/includes/specials/SpecialRecentchanges.php     2012-03-02 
04:52:16 UTC (rev 112873)
@@ -634,10 +634,13 @@
        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
+               );
        }
 
        /**


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to