+* (bug 15158) Userinvalidcssjstitle not shown on preview
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Sun, 28 Sep 2008 08:22:55 +0000 (08:22 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Sun, 28 Sep 2008 08:22:55 +0000 (08:22 +0000)
RELEASE-NOTES
includes/EditPage.php

index 9fd8564..495425d 100644 (file)
@@ -229,6 +229,7 @@ The following extensions are migrated into MediaWiki 1.14:
 * Fixed incorrect usage of DB_LAST in Special:Export. Deprecated DB_LAST.
 * (bug 15642) Blocked sysops can no longer block other users
 * Http::request() now respects $wgHTTPtimeout when not using cURL
+* (bug 15158) Userinvalidcssjstitle not shown on preview
 
 === API changes in 1.14 ===
 
index 13c9a29..40cf39a 100644 (file)
@@ -1175,7 +1175,7 @@ class EditPage {
                } elseif ( $wgUser->isAnon() && $this->formtype != 'preview' ) {
                        $wgOut->wrapWikiMsg( '<div id="mw-anon-edit-warning">$1</div>', 'anoneditwarning' );
                } else {
-                       if ( $this->isCssJsSubpage && $this->formtype != 'preview' ) {
+                       if ( $this->isCssJsSubpage ) {
                                # Check the skin exists
                                if ( $this->isValidCssJsSubpage ) {
                                        $wgOut->addWikiMsg( 'usercssjsyoucanpreview' );