jenkins-bot has submitted this change and it was merged.

Change subject: Remove subpage from form target on Special:BlockList
......................................................................


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
---
M includes/specials/SpecialBlockList.php
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Siebrand: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/specials/SpecialBlockList.php 
b/includes/specials/SpecialBlockList.php
index b83b499..784ad04 100644
--- a/includes/specials/SpecialBlockList.php
+++ b/includes/specials/SpecialBlockList.php
@@ -97,6 +97,7 @@
                        ),
                );
                $form = new HTMLForm( $fields, $this->getContext() );
+               $form->setTitle( $this->getTitle() ); // Remove subpage
                $form->setMethod( 'get' );
                $form->setWrapperLegendMsg( 'ipblocklist-legend' );
                $form->setSubmitTextMsg( 'ipblocklist-submit' );

-- 
To view, visit https://gerrit.wikimedia.org/r/60096
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie816cef7aa9864203eb160fd3f1be92d649ed0f0
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: IAlex <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to