From: mrbluesky Date: Wed, 15 Feb 2012 21:20:05 +0000 (+0000) Subject: (bug 33442) Dont prompt for summary on page creation. X-Git-Tag: 1.31.0-rc.0~24690 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=0a0bfb8aa57809e709b60173ed9d594dcdad3dec;p=lhc%2Fweb%2Fwiklou.git (bug 33442) Dont prompt for summary on page creation. --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 28ace46a08..88a5c1c779 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1223,17 +1223,6 @@ class EditPage { return $status; } - # Handle the user preference to force summaries here. Check if it's not a redirect. - if ( !$this->allowBlankSummary && !Title::newFromRedirect( $this->textbox1 ) ) { - if ( md5( $this->summary ) == $this->autoSumm ) { - $this->missingSummary = true; - $status->fatal( 'missingsummary' ); // or 'missingcommentheader' if $section == 'new'. Blegh - $status->value = self::AS_SUMMARY_NEEDED; - wfProfileOut( __METHOD__ ); - return $status; - } - } - $text = $this->textbox1; $result['sectionanchor'] = ''; if ( $this->section == 'new' ) {