(bug 987) revert broken attempt to fix bug 502, which broke MonoBook tabs in diff...
authorBrion Vibber <brion@users.mediawiki.org>
Sat, 4 Dec 2004 05:03:19 +0000 (05:03 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sat, 4 Dec 2004 05:03:19 +0000 (05:03 +0000)
includes/OutputPage.php
includes/SkinTemplate.php

index 31eb28d..667cd78 100644 (file)
@@ -525,8 +525,6 @@ class OutputPage {
                $this->setHTMLTitle( wfMsg( 'errorpagetitle' ) );
                $this->setRobotpolicy( 'noindex,nofollow' );
                $this->setArticleRelated( false );
-               $this->suppressQuickbar();
-               
                $this->enableClientCache( false );
                $this->mRedirect = '';
 
index 4082c67..6298deb 100644 (file)
@@ -451,14 +451,14 @@ class SkinTemplate extends Skin {
                $fname = 'SkinTemplate::buildContentActionUrls';
                wfProfileIn( $fname );
                
-               global $wgTitle, $wgUser, $wgOut, $wgRequest, $wgUseValidation;
+               global $wgTitle, $wgUser, $wgRequest, $wgUseValidation;
                $action = $wgRequest->getText( 'action' );
                $section = $wgRequest->getText( 'section' );
                $oldid = $wgRequest->getVal( 'oldid' );
                $diff = $wgRequest->getVal( 'diff' );
                $content_actions = array();
 
-               if( $this->iscontent and !$wgOut->isQuickbarSuppressed() ) {
+               if( $this->iscontent ) {
 
                        $nskey = $this->getNameSpaceKey();
                        $is_active = !Namespace::isTalk( $wgTitle->getNamespace()) ;