From: DannyS712 Date: Thu, 8 Aug 2019 08:50:05 +0000 (+0000) Subject: Fix Special:NewSection showNoRedirectPage form handling (2) X-Git-Tag: 1.34.0-rc.0~746 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=ef8179300a76f93c2ed51c051d99408e3403513b;p=lhc%2Fweb%2Fwiklou.git Fix Special:NewSection showNoRedirectPage form handling (2) Bug: T207577 Change-Id: I869501fde15d0c306cefb96de6678cd580074d20 --- diff --git a/includes/specials/SpecialNewSection.php b/includes/specials/SpecialNewSection.php index 62379f515c..a24d8cda69 100644 --- a/includes/specials/SpecialNewSection.php +++ b/includes/specials/SpecialNewSection.php @@ -52,6 +52,7 @@ class SpecialNewSection extends RedirectSpecialPage { 'type' => 'text', 'name' => 'page', 'label-message' => 'newsection-page', + 'required' => true, ], ], $this->getContext(), 'newsection' ); $form->setSubmitTextMsg( 'newsection-submit' );