jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/405390 )
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
(cherry picked from commit 64364df4455065a3d12ae9905f0c45d39566d72e)
---
M InputBox.hooks.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Catrope: Looks good to me, approved
jenkins-bot: Verified
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/405390
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: wmf/1.31.0-wmf.17
Gerrit-Owner: Catrope <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: Jackmcbarn <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits