From: Jackmcbarn Date: Mon, 6 Oct 2014 01:06:46 +0000 (-0400) Subject: Include categories in Special:ExpandTemplates X-Git-Tag: 1.31.0-rc.0~13680 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=fd9173e588f3a8fd81d0e312a065a49ba5a88747;p=lhc%2Fweb%2Fwiklou.git 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 --- 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() {