For MediaWiki (recent comments | status changes | tags | authors | states | release notes)
Index: trunk/phase3/includes/EditPage.php =================================================================== --- trunk/phase3/includes/EditPage.php (revision 42036) +++ trunk/phase3/includes/EditPage.php (revision 42037) @@ -574,7 +574,7 @@ $this->scrolltop = $request->getIntOrNull( 'wpScrolltop' ); - if ( is_null( $this->edittime ) ) { + if ( is_null($this->section) || !$this->edittime || !$this->starttime ) { # If the form is incomplete, force to preview. wfDebug( "$fname: Form data appears to be incomplete\n" ); wfDebug( "POST DATA: " . var_export( $_POST, true ) . "\n" );
Section, edittime, and starttime all appear before the textarea these days, so there shouldn't be much need for this particular check. Doesn't hurt, I suppose, but I'm not convinced it's going to help anything.
This is causing trouble with bot edit tools, and since it doesn't have any benefit I can see anyway I'm going to back it out for now.
Reverted in r42569