jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/405389 )

Change subject: Follow-up dd0a0035e: make useve work together with prefix
......................................................................


Follow-up dd0a0035e: make useve work together with prefix

If you set useve=true, the prefix was ignored. This was because
the prefixing code only looked for action=edit, not for veaction=edit.

Bug: T185367
Change-Id: I7b14f76571aab302cf76a3383066f030881c1454
---
M InputBox.hooks.php
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/InputBox.hooks.php b/InputBox.hooks.php
index 25aa98d..d94c422 100644
--- a/InputBox.hooks.php
+++ b/InputBox.hooks.php
@@ -84,7 +84,7 @@
                $request,
                $wiki
        ) {
-               if ( $wiki->getAction( $request ) !== 'edit' ) {
+               if ( $wiki->getAction( $request ) !== 'edit' && 
$request->getText( 'veaction' ) !== 'edit' ) {
                        // not our problem
                        return true;
                }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7b14f76571aab302cf76a3383066f030881c1454
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/InputBox
Gerrit-Branch: master
Gerrit-Owner: Catrope <r...@wikimedia.org>
Gerrit-Reviewer: Jackmcbarn <jackmcb...@gmail.com>
Gerrit-Reviewer: VolkerE <volke...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to