mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/InputBox
synced 2024-11-27 16:39:59 +00:00
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:
parent
3c98885879
commit
64364df445
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue