/** * @since 2.5 * * @return string */ public function getForm() { $html = Html::rawElement('h2', array(), $this->getMessage(array('smw-smwadmin-information-section-title'))); $html .= Html::rawElement('p', array(), $this->getMessage(array('smw-smwadmin-information-section-intro'))); $html .= Html::rawElement('div', array('class' => 'smw-admin-supplementary-linksection'), Html::rawElement('ul', array(), Html::rawElement('li', array(), $this->getMessage(array('smw-smwadmin-operational-statistics-intro', $this->outputFormatter->getSpecialPageLinkWith($this->getMessage('smw-smwadmin-operational-statistics-title'), array('action' => 'stats'))))) . Html::rawElement('li', array(), $this->getMessage(array('smw-smwadmin-settings-intro', $this->outputFormatter->getSpecialPageLinkWith($this->getMessage('smw-smwadmin-settings-title'), array('action' => 'settings'))))) . Html::rawElement('li', array(), $this->getMessage(array('smw-smwadmin-idlookup-intro', $this->outputFormatter->getSpecialPageLinkWith($this->getMessage('smw-smwadmin-idlookup-title'), array('action' => 'idlookup'))))))); return $html . Html::element('p', array(), ''); }
public function testGetSpecialPageLinkWith() { $instance = new OutputFormatter($this->outputPage); $this->assertInternalType('string', $instance->getSpecialPageLinkWith()); }