From fd9173e588f3a8fd81d0e312a065a49ba5a88747 Mon Sep 17 00:00:00 2001 From: Jackmcbarn Date: Sun, 5 Oct 2014 21:06:46 -0400 Subject: [PATCH] Include categories in Special:ExpandTemplates Show the categories box at the bottom of the page, which more accurately represents what the page would look like and allows users to see the effective categories of the expanded page. Bug: 71633 Change-Id: I4c003fb1f42b29602cd8924b224ff7642e8cf857 --- includes/specials/SpecialExpandTemplates.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/specials/SpecialExpandTemplates.php b/includes/specials/SpecialExpandTemplates.php index 2d99d60f1b..f3adeba335 100644 --- a/includes/specials/SpecialExpandTemplates.php +++ b/includes/specials/SpecialExpandTemplates.php @@ -251,6 +251,7 @@ class SpecialExpandTemplates extends SpecialPage { ) ) ); $out->addParserOutputContent( $pout ); $out->addHTML( Html::closeElement( 'div' ) ); + $out->setCategoryLinks( $pout->getCategories() ); } protected function getGroupName() { -- 2.20.1