From: Timo Tijhof Date: Tue, 23 Jul 2013 19:11:17 +0000 (+0200) Subject: mw.config: Add wgIsRedirect X-Git-Tag: 1.31.0-rc.0~19138 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/supprimer.php?a=commitdiff_plain;h=7627cf61759aca2bd8f7128c5d1141689d6769f5;p=lhc%2Fweb%2Fwiklou.git mw.config: Add wgIsRedirect Change-Id: I6e365f20b513ded10ede51d4b34de0736653a3dc --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 96c7830a21..83a7d3f77a 100644 --- 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(),