From: Florian Schmidt Date: Mon, 23 Jan 2017 19:09:44 +0000 (+0100) Subject: Remove useless title parameter in CategoryPager X-Git-Tag: 1.31.0-rc.0~4249 X-Git-Url: http://git.cyclocoop.org//%22%22.str_replace%28%27%22%27%2C?a=commitdiff_plain;h=86b9a6771bf6cb042a4527e24ca786ff779dba14;p=lhc%2Fweb%2Fwiklou.git 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 --- 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' );