diff --git a/modules/ve-mw/init/ve.init.mw.TargetEvents.js b/modules/ve-mw/init/ve.init.mw.TargetEvents.js index a779cc7c75..f228b327c6 100644 --- a/modules/ve-mw/init/ve.init.mw.TargetEvents.js +++ b/modules/ve-mw/init/ve.init.mw.TargetEvents.js @@ -28,6 +28,7 @@ ve.init.mw.TargetEvents = function ( target ) { saveErrorAbuseFilter: [ 'trackSaveError', 'abusefilter' ], saveErrorBadToken: [ 'trackSaveError', 'badtoken' ], saveErrorNewUser: [ 'trackSaveError', 'newuser' ], + saveErrorPageDeleted: [ 'trackSaveError', 'pagedeleted' ], saveErrorCaptcha: [ 'trackSaveError', 'captcha' ], saveErrorUnknown: [ 'trackSaveError', 'unknown' ], editConflict: [ 'trackSaveError', 'editconflict' ], @@ -119,6 +120,7 @@ ve.init.mw.TargetEvents.prototype.trackSaveError = function ( type ) { spamblacklist: 'extensionSpamBlacklist', empty: 'responseEmpty', unknown: 'responseUnknown', + pagedeleted: 'editPageDeleted', editconflict: 'editConflict' }, // Types that are logged as performance.user.saveError.{type}