From: Alexandre Emsenhuber Date: Sat, 20 Apr 2013 07:39:30 +0000 (+0200) Subject: Remove subpage from form target on Special:BlockList X-Git-Tag: 1.31.0-rc.0~19855^2 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=dda57e25bf03fe70b047587ed86884bb1663f8e0;p=lhc%2Fweb%2Fwiklou.git 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 --- 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' );