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
This commit is contained in:
Roan Kattouw 2018-01-19 17:45:29 -08:00
parent 3c98885879
commit 64364df445

View file

@ -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;
}