Add a function that returns a list of categories the page is a member of
[lhc/web/wiklou.git] / includes / OutputPage.php
index 96c7830..83a7d3f 100644 (file)
@@ -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(),