43 parent::__construct(
'Categories' );
44 $this->linkBatchFactory = $linkBatchFactory;
45 $this->dbProvider = $dbProvider;
52 $this->
getOutput()->getMetadata()->setPreventClickjacking(
false );
54 $from = $this->
getRequest()->getText(
'from', $par ??
'' );
58 $this->linkBatchFactory,
66 Html::openElement(
'div', [
'class' =>
'mw-spcontent' ] ) .
67 $this->
msg(
'categoriespagetext', $cap->getNumRows() )->parseAsBlock() .
68 $cap->getStartForm( $from ) .
69 $cap->getNavigationBar() .
70 '<ul>' . $cap->getBody() .
'</ul>' .
71 $cap->getNavigationBar() .
72 Html::closeElement(
'div' )
82class_alias( SpecialCategories::class,
'SpecialCategories' );
Parent class for all special pages.
setHeaders()
Sets headers - this should be called from the execute() method of all derived classes!
getContext()
Gets the context this SpecialPage is executed in.
getRequest()
Get the WebRequest being used for this instance.
msg( $key,... $params)
Wrapper around wfMessage that sets the current context.
getOutput()
Get the OutputPage being used for this instance.
outputHeader( $summaryMessageKey='')
Outputs a summary message on top of special pages By default the message key is the canonical name of...
addHelpLink( $to, $overrideBaseUrl=false)
Adds help link with an icon via page indicators.