mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Track new pagedeleted save error in TargetEvents
Change to Schema:Edit takes it to revision 10676603. Change-Id: I87a3812585ac0dd22a66ceffdf320ad8bc326155
This commit is contained in:
parent
a7dc4af551
commit
915278dfea
|
@ -28,6 +28,7 @@ ve.init.mw.TargetEvents = function ( target ) {
|
||||||
saveErrorAbuseFilter: [ 'trackSaveError', 'abusefilter' ],
|
saveErrorAbuseFilter: [ 'trackSaveError', 'abusefilter' ],
|
||||||
saveErrorBadToken: [ 'trackSaveError', 'badtoken' ],
|
saveErrorBadToken: [ 'trackSaveError', 'badtoken' ],
|
||||||
saveErrorNewUser: [ 'trackSaveError', 'newuser' ],
|
saveErrorNewUser: [ 'trackSaveError', 'newuser' ],
|
||||||
|
saveErrorPageDeleted: [ 'trackSaveError', 'pagedeleted' ],
|
||||||
saveErrorCaptcha: [ 'trackSaveError', 'captcha' ],
|
saveErrorCaptcha: [ 'trackSaveError', 'captcha' ],
|
||||||
saveErrorUnknown: [ 'trackSaveError', 'unknown' ],
|
saveErrorUnknown: [ 'trackSaveError', 'unknown' ],
|
||||||
editConflict: [ 'trackSaveError', 'editconflict' ],
|
editConflict: [ 'trackSaveError', 'editconflict' ],
|
||||||
|
@ -119,6 +120,7 @@ ve.init.mw.TargetEvents.prototype.trackSaveError = function ( type ) {
|
||||||
spamblacklist: 'extensionSpamBlacklist',
|
spamblacklist: 'extensionSpamBlacklist',
|
||||||
empty: 'responseEmpty',
|
empty: 'responseEmpty',
|
||||||
unknown: 'responseUnknown',
|
unknown: 'responseUnknown',
|
||||||
|
pagedeleted: 'editPageDeleted',
|
||||||
editconflict: 'editConflict'
|
editconflict: 'editConflict'
|
||||||
},
|
},
|
||||||
// Types that are logged as performance.user.saveError.{type}
|
// Types that are logged as performance.user.saveError.{type}
|
||||||
|
|
Loading…
Reference in a new issue