From 46fdcc5fc337946a2722b76dd3809eaa04fec5dc Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 14 Jul 2005 02:11:51 +0000 Subject: [PATCH] * Undo inconsistent editing behavior change --- RELEASE-NOTES | 2 ++ includes/EditPage.php | 6 ------ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 1fe70000a2..9eb56f1bbe 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -580,6 +580,8 @@ of MediaWiki:Newpagetext) to &action=edit, if page is new. * use comment form when creating a new talk page * (bug 460) Properly handle
tags as a block. * (bug 2001) Implement client-side sorting of table fields with JavaScript +* Undo inconsistent editing behavior change + === Caveats === diff --git a/includes/EditPage.php b/includes/EditPage.php index f73d5e2a1a..c1ffe7554a 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -306,12 +306,6 @@ class EditPage { // css / js subpages of user pages get a special treatment $isCssJsSubpage = $wgTitle->isCssJsSubpage(); - # If we're creating a discussion page, use the standard comment - # form. - if(!$wgTitle->exists() && $wgTitle->isTalkPage()) { - $this->section='new'; - } - if(!$this->mTitle->getArticleID()) { # new article $editintro = $wgRequest->getText( 'editintro' ); $addstandardintro=true; -- 2.20.1