Merge "CategoryTreePage: Avoid setting internal fields of HTMLForm"

This commit is contained in:
jenkins-bot 2022-03-25 20:05:15 +00:00 committed by Gerrit Code Review
commit 660c0cca83

View file

@ -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' )