From: Gabriel Wicke Date: Mon, 10 May 2004 17:17:39 +0000 (+0000) Subject: don't show when previewing X-Git-Tag: 1.3.0beta1~99 X-Git-Url: https://git.cyclocoop.org/%2C?a=commitdiff_plain;h=b201522a80923e558437234da2a879f7fd092f55;p=lhc%2Fweb%2Fwiklou.git don't show when previewing --- 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() ) {