33 global $wgCategoryTreeCategoryPageOptions;
35 if ( !isset( $this->categorytree ) ) {
40 $this->categorytree =
new CategoryTree( $wgCategoryTreeCategoryPageOptions );
55 if ( $this->
getRequest()->getCheck(
'notree' ) ) {
56 parent::addSubcategoryObject(
$cat, $sortkey, $pageLength );
62 $this->children[] = $tree->renderNodeInfo(
$title,
$cat );
71 $this->child_cats = [];
72 parent::clearCategoryState();
80 $this->child_cats = array_reverse( $this->child_cats );
82 parent::finaliseCategoryState();