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 ( $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() { ?> html('headlinks') ?> <?php $this->text('pagetitle') ?> data['jsvarurl' ]) { ?> data['nsclass' ]) { ?>class="text('nsclass') ?>">
data['sitenotice']) { ?>
html('sitenotice') ?>

text('title') ?>

msg('tagline') ?>

html('subtitle') ?>
data['undelete']) { ?>
html('undelete') ?>
data['newtalk'] ) { ?>
html('newtalk') ?>
html('bodytext') ?> data['catlinks']) { ?>
Views
    data['content_actions'] as $key => $action) { ?>
  • class="" >
msg('navigation') ?>
    data['navigation_urls'] as $navlink) { ?>
data['language_urls'] ) { ?>
msg('otherlanguages') ?>
    data['language_urls'] as $langlink) { ?>
html('reporttime') ?>