From 0a0bfb8aa57809e709b60173ed9d594dcdad3dec Mon Sep 17 00:00:00 2001 From: mrbluesky Date: Wed, 15 Feb 2012 21:20:05 +0000 Subject: [PATCH] (bug 33442) Dont prompt for summary on page creation. --- includes/EditPage.php | 11 ----------- 1 file changed, 11 deletions(-) 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' ) { -- 2.20.1