* Skins system more modular: templates and CSS are now in /skins/
* New user preference for limitting the image size for images on image description
pages
+* Error pages no more offer edit / talk / watch links (bug #502)
* ... and more!
=== Caveats ===
<?php
/**
- * $Id$
+ * @version $Id$
* @package MediaWiki
*/
$this->setHTMLTitle( wfMsg( 'errorpagetitle' ) );
$this->setRobotpolicy( 'noindex,nofollow' );
$this->setArticleRelated( false );
+ $this->suppressQuickbar();
+
$this->enableClientCache( false );
$this->mRedirect = '';
* an array of edit links by default used for the tabs
*/
function buildContentActionUrls () {
- global $wgTitle, $wgUser, $wgRequest, $wgUseValidation;
+ global $wgTitle, $wgUser, $wgOut, $wgRequest, $wgUseValidation;
$action = $wgRequest->getText( 'action' );
$section = $wgRequest->getText( 'section' );
$oldid = $wgRequest->getVal( 'oldid' );
$diff = $wgRequest->getVal( 'diff' );
$content_actions = array();
- if( $this->iscontent ) {
+ if( $this->iscontent and !$wgOut->isQuickbarSuppressed() ) {
$nskey = $this->getNameSpaceKey();
$is_active = !Namespace::isTalk( $wgTitle->getNamespace()) ;