From 64364df4455065a3d12ae9905f0c45d39566d72e Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Fri, 19 Jan 2018 17:45:29 -0800 Subject: [PATCH] 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 --- InputBox.hooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InputBox.hooks.php b/InputBox.hooks.php index 25aa98d3..d94c4226 100644 --- a/InputBox.hooks.php +++ b/InputBox.hooks.php @@ -84,7 +84,7 @@ class InputBoxHooks { $request, $wiki ) { - if ( $wiki->getAction( $request ) !== 'edit' ) { + if ( $wiki->getAction( $request ) !== 'edit' && $request->getText( 'veaction' ) !== 'edit' ) { // not our problem return true; }