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();
82 parent::finaliseCategoryState();
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
clearCategoryState()
@inheritDoc
finaliseCategoryState()
@inheritDoc
addSubcategoryObject(Category $cat, $sortkey, $pageLength)
Add a subcategory to the internal lists.
CategoryTree $categorytree
static shouldForceHeaders()
Core functions for the CategoryTree extension, an AJAX based gadget to display the category structure...
static setHeaders(OutputPage $outputPage)
Add ResourceLoader modules to the OutputPage object.
Category $cat
Category object for this page.
getSubcategorySortChar( $title, $sortkey)
Get the character to be used for sorting subcategories.
Category objects are immutable, strictly speaking.