* (bug 2577) Allow sysops to enter non-standard block times
* Fixed a bug where Special:Contributions wouldn't remember the 'invert'
status between next/previous buttons.
+* Move MonoBook printable link from tab to sidebar
+
=== Caveats ===
$vcount ++;
}
}
-
- // A print stylesheet is attached to all pages, but nobody ever
- // figures that out. :) Add a link...
- if( $this->iscontent && ($action == '' || $action == 'view' || $action == 'purge' ) ) {
- $content_actions['print'] = array(
- 'class' => false,
- 'text' => wfMsg( 'print' ),
- 'href' => $wgRequest->appendQuery( 'printable=yes' ) );
- }
wfProfileOut( $fname );
return $content_actions;
}
$nav_urls['specialpages'] = array('href' => $this->makeSpecialUrl('Specialpages'));
+
+ // A print stylesheet is attached to all pages, but nobody ever
+ // figures that out. :) Add a link...
+ if( $this->iscontent && ($action == '' || $action == 'view' || $action == 'purge' ) ) {
+ $nav_urls['print'] = array(
+ 'text' => wfMsg( 'printableversion' ),
+ 'href' => $wgRequest->appendQuery( 'printable=yes' ) );
+ }
+
if( $this->mTitle->getNamespace() != NS_SPECIAL) {
$nav_urls['whatlinkshere'] = array(
'href' => $this->makeSpecialUrl("Whatlinkshere/$this->thispage")
echo htmlspecialchars($this->data['nav_urls'][$special]['href'])
?>"><?php $this->msg($special) ?></a></li><?php } ?>
<?php } ?>
+ <?php if(!empty($this->data['nav_urls']['print']['href'])) { ?>
+ <li id="t-print"><a href="<?php
+ echo htmlspecialchars($this->data['nav_urls']['print']['href'])
+ ?>"><?php echo $this->msg('printableversion') ?></a></li>
+ <?php } ?>
</ul>
</div>
</div>