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
This commit is contained in:
Alexandre Emsenhuber 2013-04-20 09:39:30 +02:00 committed by Gerrit Code Review
parent e51885d86e
commit dda57e25bf

View file

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