From 3d94b0e49bac1041ef2bfffe67b51c199b8d05a2 Mon Sep 17 00:00:00 2001 From: Daniel Cannon Date: Sun, 15 Jul 2007 05:04:24 +0000 Subject: [PATCH] Actually, let's make that message a tid bit more clear: "Page type not compatible with requested mime type." --- includes/RawPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.20.1