From 764238cca2fd0e9220292e55d0a09e19b9f47fe8 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 15 Jan 2008 15:53:09 +0000 Subject: [PATCH] fix for IE --- includes/MimeMagic.php | 8 ++++---- includes/SkinTemplate.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/includes/MimeMagic.php b/includes/MimeMagic.php index fd42499bc8..6be32db174 100644 --- a/includes/MimeMagic.php +++ b/includes/MimeMagic.php @@ -84,19 +84,19 @@ class MimeMagic { * Mapping of media types to arrays of mime types. * This is used by findMediaType and getMediaType, respectively */ - var $mMediaTypes= NULL; + public static $mMediaTypes= NULL; /** Map of mime type aliases */ - var $mMimeTypeAliases= NULL; + public static $mMimeTypeAliases= NULL; /** map of mime types to file extensions (as a space seprarated list) */ - var $mMimeToExt= NULL; + public static $mMimeToExt= NULL; /** map of file extensions types to mime types (as a space seprarated list) */ - var $mExtToMime= NULL; + public static $mExtToMime= NULL; /** The singleton instance */ diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index 0178b86656..975d00ead3 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -772,7 +772,7 @@ class SkinTemplate extends Skin { wfProfileOut( "$fname-live" ); - if( $this->loggedin ) { + if( $this->loggedin && 0) { if( !$this->mTitle->userIsWatching()) { $content_actions['watch'] = array( 'class' => ($action == 'watch' or $action == 'unwatch') ? 'selected' : false, -- 2.20.1