From: Daniel Cannon Date: Sun, 15 Jul 2007 05:04:24 +0000 (+0000) Subject: Actually, let's make that message a tid bit more clear: "Page type not compatible... X-Git-Tag: 1.31.0-rc.0~52090 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=3d94b0e49bac1041ef2bfffe67b51c199b8d05a2;p=lhc%2Fweb%2Fwiklou.git Actually, let's make that message a tid bit more clear: "Page type not compatible with requested mime type." --- diff --git a/includes/RawPage.php b/includes/RawPage.php index 4b27823711..96f3848cf2 100644 --- a/includes/RawPage.php +++ b/includes/RawPage.php @@ -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();