From 86b9a6771bf6cb042a4527e24ca786ff779dba14 Mon Sep 17 00:00:00 2001 From: Florian Schmidt Date: Mon, 23 Jan 2017 20:09:44 +0100 Subject: [PATCH] Remove useless title parameter in CategoryPager The title is already added as the action of the form tag, so adding it again as a hidden input field is pretty useless and more confusing in the url. Therefore: Removing it. Change-Id: I146b562357105e337f86a6ccfeb55477262f67cd --- includes/specials/pagers/CategoryPager.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/includes/specials/pagers/CategoryPager.php b/includes/specials/pagers/CategoryPager.php index eb369802de..7db90c1788 100644 --- a/includes/specials/pagers/CategoryPager.php +++ b/includes/specials/pagers/CategoryPager.php @@ -104,12 +104,8 @@ class CategoryPager extends AlphabeticPager { 'default' => $from, ], ]; - $hiddenFields = [ - 'title' => $this->getTitle()->getPrefixedText(), - ]; $htmlForm = HTMLForm::factory( 'ooui', $formDescriptor, $this->getContext() ) - ->addHiddenFields( $hiddenFields ) ->setSubmitTextMsg( 'categories-submit' ) ->setWrapperLegendMsg( 'categories' ) ->setMethod( 'get' ); -- 2.20.1