From dda57e25bf03fe70b047587ed86884bb1663f8e0 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 20 Apr 2013 09:39:30 +0200 Subject: [PATCH] Remove subpage from form target on Special:BlockList This information is already in field from the form, so there is no need to duplicate it. Change-Id: Ie816cef7aa9864203eb160fd3f1be92d649ed0f0 --- includes/specials/SpecialBlockList.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/specials/SpecialBlockList.php b/includes/specials/SpecialBlockList.php index b83b499cbe..784ad0416a 100644 --- a/includes/specials/SpecialBlockList.php +++ b/includes/specials/SpecialBlockList.php @@ -97,6 +97,7 @@ class SpecialBlockList extends SpecialPage { ), ); $form = new HTMLForm( $fields, $this->getContext() ); + $form->setTitle( $this->getTitle() ); // Remove subpage $form->setMethod( 'get' ); $form->setWrapperLegendMsg( 'ipblocklist-legend' ); $form->setSubmitTextMsg( 'ipblocklist-submit' ); -- 2.20.1