dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b130515
)
Fix Special:NewSection showNoRedirectPage form handling (2)
author
DannyS712
<DannyS712.enwiki@gmail.com>
Thu, 8 Aug 2019 08:50:05 +0000
(08:50 +0000)
committer
Mobrovac
<mobrovac@wikimedia.org>
Thu, 8 Aug 2019 09:10:23 +0000
(09:10 +0000)
Bug: T207577
Change-Id: I869501fde15d0c306cefb96de6678cd580074d20
includes/specials/SpecialNewSection.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialNewSection.php
b/includes/specials/SpecialNewSection.php
index
62379f5
..
a24d8cd
100644
(file)
--- 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',
'type' => 'text',
'name' => 'page',
'label-message' => 'newsection-page',
+ 'required' => true,
],
], $this->getContext(), 'newsection' );
$form->setSubmitTextMsg( 'newsection-submit' );
],
], $this->getContext(), 'newsection' );
$form->setSubmitTextMsg( 'newsection-submit' );