From 9816b7a56c503918c167739c2e8bd7f25525c121 Mon Sep 17 00:00:00 2001 From: Krinkle Date: Wed, 15 Jun 2011 01:11:16 +0000 Subject: [PATCH] Using true instead of calling isMainPage() again. (Follow-up r90099 CR, Poke r87212) --- includes/OutputPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1