dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87786e8
)
Using true instead of calling isMainPage() again.
author
Krinkle
<krinkle@users.mediawiki.org>
Wed, 15 Jun 2011 01:11:16 +0000
(
01:11
+0000)
committer
Krinkle
<krinkle@users.mediawiki.org>
Wed, 15 Jun 2011 01:11:16 +0000
(
01:11
+0000)
(Follow-up r90099 CR, Poke r87212)
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
cc7a8a6
..
4d88a8d
100644
(file)
--- 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