From b201522a80923e558437234da2a879f7fd092f55 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Mon, 10 May 2004 17:17:39 +0000 Subject: [PATCH] don't show when previewing --- includes/EditPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index c3d132db5f..a75caff935 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -249,7 +249,7 @@ class EditPage { $wgOut->addHTML( "" . wfMsg( "readonlywarning" ) . "" ); - } else if ( $isCssJsSubpage ) { + } else if ( $isCssJsSubpage and "preview" != $formtype)) { $wgOut->addHTML( wfMsg( "usercssjsyoucanpreview" )); } if( $this->mTitle->isProtected() ) { -- 2.20.1