Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -2689,7 +2689,7 @@ |
2690 | 2690 | $vars['wgSearchNamespaces'] = SearchEngine::userNamespaces( $this->getUser() ); |
2691 | 2691 | } |
2692 | 2692 | if ( $title->isMainPage() ) { |
2693 | | - $vars['wgIsMainPage'] = $title->isMainPage(); |
| 2693 | + $vars['wgIsMainPage'] = true; |
2694 | 2694 | } |
2695 | 2695 | |
2696 | 2696 | // Allow extensions to add their custom variables to the global JS variables |