From e20262bc869e592a2857c8e5f46cdc375bd42047 Mon Sep 17 00:00:00 2001 From: Func Date: Sun, 20 Mar 2022 21:41:15 +0800 Subject: [PATCH] CategoryTreePage: Avoid setting internal fields of HTMLForm HTMLForm would handle title itself, don't need to set manually here. Change-Id: Ifff538f48f5578cca5fc7b3a2724e79a851958c3 --- includes/CategoryTreePage.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/CategoryTreePage.php b/includes/CategoryTreePage.php index 23498068..72087cac 100644 --- a/includes/CategoryTreePage.php +++ b/includes/CategoryTreePage.php @@ -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' )