* Fix raw sitenotice display on database error
* Fix autoconfirm check for old accounts
* (bug 4368) Don't show useless empty preview on new section creation
+* Don't show useless empty preview on new page creation
=== Caveats ===
function previewOnOpen() {
global $wgUser;
return $this->section != 'new' &&
- ( $wgUser->getOption( 'previewonfirst' ) ||
+ ( ( $wgUser->getOption( 'previewonfirst' ) && $this->mTitle->exists() ) ||
( $this->mTitle->getNamespace() == NS_CATEGORY &&
!$this->mTitle->exists() ) );
}