Actually, let's make that message a tid bit more clear: "Page type not compatible...
authorDaniel Cannon <amidaniel@users.mediawiki.org>
Sun, 15 Jul 2007 05:04:24 +0000 (05:04 +0000)
committerDaniel Cannon <amidaniel@users.mediawiki.org>
Sun, 15 Jul 2007 05:04:24 +0000 (05:04 +0000)
includes/RawPage.php

index 4b27823..96f3848 100644 (file)
@@ -151,7 +151,7 @@ class RawPage {
                $dangerousTypes = array( $wgJsMimeType, 'text/css' );
                if ( in_array( $this->mContentType, $dangerousTypes ) && 
                                !($this->mTitle->isCssOrJsPage() || $this->mTitle->isCssJsSubpage() ) )
-                       return '/* EMPTY */';
+                       return '/* Page type not compatible with requested mime type. */';
        
                if($this->mGen) {
                        $sk = $wgUser->getSkin();