r29799 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r29798‎ | r29799 | r29800 >
Date:16:04, 15 January 2008
Author:catrope
Status:old
Tags:
Comment:
Reverting r29798 on the committer's request, part 1 of 2
Modified paths:
  • /trunk/phase3/includes/MimeMagic.php (modified) (history)
  • /trunk/phase3/includes/SkinTemplate.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/MimeMagic.php
@@ -84,19 +84,19 @@
8585 * Mapping of media types to arrays of mime types.
8686 * This is used by findMediaType and getMediaType, respectively
8787 */
88 - public static $mMediaTypes= NULL;
 88+ var $mMediaTypes= NULL;
8989
9090 /** Map of mime type aliases
9191 */
92 - public static $mMimeTypeAliases= NULL;
 92+ var $mMimeTypeAliases= NULL;
9393
9494 /** map of mime types to file extensions (as a space seprarated list)
9595 */
96 - public static $mMimeToExt= NULL;
 96+ var $mMimeToExt= NULL;
9797
9898 /** map of file extensions types to mime types (as a space seprarated list)
9999 */
100 - public static $mExtToMime= NULL;
 100+ var $mExtToMime= NULL;
101101
102102 /** The singleton instance
103103 */
Index: trunk/phase3/includes/SkinTemplate.php
@@ -772,7 +772,7 @@
773773
774774 wfProfileOut( "$fname-live" );
775775
776 - if( $this->loggedin && 0) {
 776+ if( $this->loggedin ) {
777777 if( !$this->mTitle->userIsWatching()) {
778778 $content_actions['watch'] = array(
779779 'class' => ($action == 'watch' or $action == 'unwatch') ? 'selected' : false,

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r29798fix for IEthomasv15:53, 15 January 2008

Status & tagging log