Include categories in Special:ExpandTemplates
authorJackmcbarn <jackmcbarn@gmail.com>
Mon, 6 Oct 2014 01:06:46 +0000 (21:06 -0400)
committerParent5446 <tylerromeo@gmail.com>
Mon, 6 Oct 2014 02:24:15 +0000 (02:24 +0000)
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

index 2d99d60..f3adeba 100644 (file)
@@ -251,6 +251,7 @@ class SpecialExpandTemplates extends SpecialPage {
                ) ) );
                $out->addParserOutputContent( $pout );
                $out->addHTML( Html::closeElement( 'div' ) );
+               $out->setCategoryLinks( $pout->getCategories() );
        }
 
        protected function getGroupName() {