IAlex has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/60096


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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/96/60096/1

diff --git a/includes/specials/SpecialBlockList.php 
b/includes/specials/SpecialBlockList.php
index 4868a75..e202e94 100644
--- a/includes/specials/SpecialBlockList.php
+++ b/includes/specials/SpecialBlockList.php
@@ -96,6 +96,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: newchange
Gerrit-Change-Id: Ie816cef7aa9864203eb160fd3f1be92d649ed0f0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: IAlex <[email protected]>

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

Reply via email to