Merge "Track new pagedeleted save error in TargetEvents"

This commit is contained in:
jenkins-bot 2014-12-02 02:04:11 +00:00 committed by Gerrit Code Review
commit 6c4c3408b8

View file

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