fix for IE
authorThomasV <thomasv@users.mediawiki.org>
Tue, 15 Jan 2008 15:53:09 +0000 (15:53 +0000)
committerThomasV <thomasv@users.mediawiki.org>
Tue, 15 Jan 2008 15:53:09 +0000 (15:53 +0000)
includes/MimeMagic.php
includes/SkinTemplate.php

index fd42499..6be32db 100644 (file)
@@ -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
         */
index 0178b86..975d00e 100644 (file)
@@ -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,