mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree
synced 2024-11-27 17:51:00 +00:00
CategoryTreePage: Avoid setting internal fields of HTMLForm
HTMLForm would handle title itself, don't need to set manually here. Change-Id: Ifff538f48f5578cca5fc7b3a2724e79a851958c3
This commit is contained in:
parent
a78c27f9b8
commit
e20262bc86
|
@ -157,7 +157,6 @@ class CategoryTreePage extends SpecialPage {
|
|||
];
|
||||
|
||||
HTMLForm::factory( 'ooui', $formDescriptor, $this->getContext() )
|
||||
->addHiddenFields( [ 'title' => $this->getPageTitle()->getPrefixedDbKey() ] )
|
||||
->setWrapperLegendMsg( 'categorytree-legend' )
|
||||
->setSubmitTextMsg( 'categorytree-go' )
|
||||
->setMethod( 'get' )
|
||||
|
|
Loading…
Reference in a new issue