From: Krinkle Date: Wed, 15 Jun 2011 01:11:16 +0000 (+0000) Subject: Using true instead of calling isMainPage() again. X-Git-Tag: 1.31.0-rc.0~29524 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=9816b7a56c503918c167739c2e8bd7f25525c121;p=lhc%2Fweb%2Fwiklou.git Using true instead of calling isMainPage() again. (Follow-up r90099 CR, Poke r87212) --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index cc7a8a6301..4d88a8d114 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -2689,7 +2689,7 @@ class OutputPage { $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