template = 'HTMLDumpTemplate'; } function getNavigationLinks() { $links = parent::getNavigationLinks(); foreach ( $links as $index => $link ) { if ( $link['href'] == 'recentchanges-url' ) { unset( $links[$index] ); } if ( $link['href'] == 'randompage-url' ) { unset( $links[$index] ); } } return $links; } function buildContentActionUrls() { $content_actions = array(); $nskey = $this->getNameSpaceKey(); $content_actions[$nskey] = $this->tabAction( $this->mTitle->getSubjectPage(), $nskey, !$this->mTitle->isTalkPage() ); $content_actions['talk'] = $this->tabAction( $this->mTitle->getTalkPage(), 'talk', $this->mTitle->isTalkPage(), '', true); return $content_actions; } function makeBrokenLinkObj( &$nt, $text = '', $query = '', $trail = '', $prefix = '' ) { if ( !isset( $nt ) ) { return "{$prefix}{$text}{$trail}"; } if ( $nt->getNamespace() == NS_CATEGORY ) { return $this->makeKnownLinkObj( $nt, $text, $query, $trail, $prefix ); } if ( $text == '' ) { $text = $nt->getPrefixedText(); } return $prefix . $text . $trail; } } /** * @todo document * @package MediaWiki * @subpackage Skins */ class HTMLDumpTemplate extends QuickTemplate { /** * Template filter callback for MonoBook skin. * Takes an associative array of data set from a SkinTemplate-based * class, and a wrapper for MediaWiki's localization database, and * outputs a formatted page. * * @access private */ function execute() { $this->modifySetup(); $this->reallyExecute(); } function modifySetup() { /* foreach ( $this->data['navigation_urls'] as $index => $link ) { if ( $link['text'] == 'recentchanges' ) { unset( $this->data['navigation_urls'][$index] ); } elseif ( $link['text'] */ } function reallyExecute() { wfSuppressWarnings(); ?>
html('headlinks') ?>