setHeaders(); $this->outputHeader(); $this->addHelpLink( 'Help:Categories' ); $this->getOutput()->allowClickjacking(); $from = $this->getRequest()->getText( 'from', $par ); $cap = new CategoryPager( $this->getContext(), $from, $this->getLinkRenderer() ); $cap->doQuery(); $this->getOutput()->addHTML( Html::openElement( 'div', [ 'class' => 'mw-spcontent' ] ) . $this->msg( 'categoriespagetext', $cap->getNumRows() )->parseAsBlock() . $cap->getStartForm( $from ) . $cap->getNavigationBar() . '