http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90102

Revision: 90102
Author:   krinkle
Date:     2011-06-15 01:11:16 +0000 (Wed, 15 Jun 2011)
Log Message:
-----------
Using true instead of calling isMainPage() again.

(Follow-up r90099 CR, Poke r87212)

Modified Paths:
--------------
    trunk/phase3/includes/OutputPage.php

Modified: trunk/phase3/includes/OutputPage.php
===================================================================
--- trunk/phase3/includes/OutputPage.php        2011-06-14 23:50:40 UTC (rev 
90101)
+++ trunk/phase3/includes/OutputPage.php        2011-06-15 01:11:16 UTC (rev 
90102)
@@ -2689,7 +2689,7 @@
                        $vars['wgSearchNamespaces'] = 
SearchEngine::userNamespaces( $this->getUser() );
                }
                if ( $title->isMainPage() ) {
-                       $vars['wgIsMainPage'] = $title->isMainPage();
+                       $vars['wgIsMainPage'] = true;
                }
 
                // Allow extensions to add their custom variables to the global 
JS variables


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

Reply via email to