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:
aae6099
)
mw.config: Add wgIsRedirect
author
Timo Tijhof
<krinklemail@gmail.com>
Tue, 23 Jul 2013 19:11:17 +0000
(21:11 +0200)
committer
Timo Tijhof
<krinklemail@gmail.com>
Tue, 23 Jul 2013 19:11:31 +0000
(21:11 +0200)
Change-Id: I6e365f20b513ded10ede51d4b34de0736653a3dc
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
96c7830
..
83a7d3f
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-3024,6
+3024,7
@@
$templates
'wgCurRevisionId' => $latestRevID,
'wgArticleId' => $pageID,
'wgIsArticle' => $this->isArticle(),
+ 'wgIsRedirect' => $title->isRedirect(),
'wgAction' => Action::getActionName( $this->getContext() ),
'wgUserName' => $user->isAnon() ? null : $user->getName(),
'wgUserGroups' => $user->getEffectiveGroups(),