setHeaders(); $this->outputHeader(); $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() . '' . $cap->getNavigationBar() . Html::closeElement( 'div' ) ); } protected function getGroupName() { return 'pages'; } }