function execute($par) { $this->setHeaders(); $this->outputHeader(); $this->getOutput()->allowClickjacking(); $from = $this->getRequest()->getText('from', $par); $cap = new CategoryPager($this->getContext(), $from); $cap->doQuery(); $this->getOutput()->addHTML(Html::openElement('div', array('class' => 'mw-spcontent')) . $this->msg('categoriespagetext', $cap->getNumRows())->parseAsBlock() . $cap->getStartForm($from) . $cap->getNavigationBar() . '<ul>' . $cap->getBody() . '</ul>' . $cap->getNavigationBar() . Html::closeElement('div')); }
/** * @file * @ingroup SpecialPage */ function wfSpecialCategories($par = null) { global $wgOut, $wgRequest; if ($par == '') { $from = $wgRequest->getText('from'); } else { $from = $par; } $cap = new CategoryPager($from); $wgOut->addHTML(XML::openElement('div', array('class' => 'mw-spcontent')) . wfMsgExt('categoriespagetext', array('parse')) . $cap->getStartForm($from) . $cap->getNavigationBar() . '<ul>' . $cap->getBody() . '</ul>' . $cap->getNavigationBar() . XML::closeElement('div')); }
function execute($par) { global $wgOut, $wgRequest; $this->setHeaders(); $this->outputHeader(); $wgOut->allowClickjacking(); $from = $wgRequest->getText('from', $par); $cap = new CategoryPager($from); $cap->doQuery(); $wgOut->addHTML(Html::openElement('div', array('class' => 'mw-spcontent')) . wfMsgExt('categoriespagetext', array('parse'), $cap->getNumRows()) . $cap->getStartForm($from) . $cap->getNavigationBar() . '<ul>' . $cap->getBody() . '</ul>' . $cap->getNavigationBar() . Html::closeElement('div')); }
/** * * @addtogroup SpecialPage */ function wfSpecialCategories() { global $wgOut; $cap = new CategoryPager(); $wgOut->addHTML(wfMsgWikiHtml('categoriespagetext') . $cap->getNavigationBar() . '<ul>' . $cap->getBody() . '</ul>' . $cap->getNavigationBar()); }
/** * * @addtogroup SpecialPage */ function wfSpecialCategories() { global $wgOut; $cap = new CategoryPager(); $wgOut->addHTML(wfMsgExt('categoriespagetext', array('parse')) . $cap->getNavigationBar() . '<ul>' . $cap->getBody() . '</ul>' . $cap->getNavigationBar()); }