Se4598 has uploaded a new change for review.

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

Change subject: add missing title-param to abusefilter-log form
......................................................................

add missing title-param to abusefilter-log form

without it, you get redirected to the main page (index.php) when
$wgUsePathInfo = false; as no title-parameter is given.

Change-Id: I6b97d61c58b196c95836036219201cff8e2e0657
---
M special/SpecialAbuseLog.php
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/AbuseFilter 
refs/changes/93/181793/1

diff --git a/special/SpecialAbuseLog.php b/special/SpecialAbuseLog.php
index 9d2623f..6c166bd 100644
--- a/special/SpecialAbuseLog.php
+++ b/special/SpecialAbuseLog.php
@@ -126,7 +126,8 @@
 
                $output .= Xml::tags( 'form',
                        array( 'method' => 'get', 'action' => 
$this->getPageTitle()->getLocalURL() ),
-                       Xml::buildForm( $fields, 
'abusefilter-log-search-submit' )
+                               Xml::buildForm( $fields, 
'abusefilter-log-search-submit' ) .
+                               Html::hidden( 'title', $this->getPageTitle() )
                );
                $output = Xml::tags( 'fieldset', null, $output );
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6b97d61c58b196c95836036219201cff8e2e0657
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/AbuseFilter
Gerrit-Branch: master
Gerrit-Owner: Se4598 <[email protected]>

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

Reply via email to