mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 13:46:48 +00:00
VE integration: Remove "unrecoverable" errors
Bug: T307330 Depends-On: I9680cc416da5b27881aeb3502f506dcb5d4bb71f Change-Id: Ie133c74072fa3e9ab934a6a8b2052d25b68d1cbf
This commit is contained in:
parent
616bafa80c
commit
4b0bc0f47d
|
@ -18,7 +18,7 @@ mw.loader.using( 'ext.visualEditor.targetLoader' ).then( function () {
|
|||
return err.code === 'abusefilter-warning';
|
||||
} );
|
||||
// Handle warnings/errors from Extension:AbuseFilter
|
||||
target.showSaveError( target.extractErrorMessages( data ), isWarning, isWarning );
|
||||
target.showSaveError( target.extractErrorMessages( data ), isWarning );
|
||||
// Emit event for tracking. TODO: This is a bad design
|
||||
target.emit( 'saveErrorAbuseFilter' );
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue