Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -229,6 +229,7 @@ |
230 | 230 | * Fixed incorrect usage of DB_LAST in Special:Export. Deprecated DB_LAST. |
231 | 231 | * (bug 15642) Blocked sysops can no longer block other users |
232 | 232 | * Http::request() now respects $wgHTTPtimeout when not using cURL |
| 233 | +* (bug 15158) Userinvalidcssjstitle not shown on preview |
233 | 234 | |
234 | 235 | === API changes in 1.14 === |
235 | 236 | |
Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -1175,7 +1175,7 @@ |
1176 | 1176 | } elseif ( $wgUser->isAnon() && $this->formtype != 'preview' ) { |
1177 | 1177 | $wgOut->wrapWikiMsg( '<div id="mw-anon-edit-warning">$1</div>', 'anoneditwarning' ); |
1178 | 1178 | } else { |
1179 | | - if ( $this->isCssJsSubpage && $this->formtype != 'preview' ) { |
| 1179 | + if ( $this->isCssJsSubpage ) { |
1180 | 1180 | # Check the skin exists |
1181 | 1181 | if ( $this->isValidCssJsSubpage ) { |
1182 | 1182 | $wgOut->addWikiMsg( 'usercssjsyoucanpreview' ); |