Add stats for block errors on create/edit actions
authorDayllan Maza <dmaza@wikimedia.org>
Fri, 16 Nov 2018 03:33:47 +0000 (22:33 -0500)
committerDmaza <dmaza@wikimedia.org>
Wed, 28 Nov 2018 06:34:35 +0000 (06:34 +0000)
commitb89342ffddae35af71c6dabc34c456fd5641c1df
treeea0948df8ea6434b67c87585e46fa8b1b57fb9f1
parent49bb28b557e08ef564459665fab461e75376c5c6
Add stats for block errors on create/edit actions

Monitoring block errors is behind $wgEnableBlockNoticeStats
and it is disabled by default.

The reason behind this metric is to get an idea on how
frequently blocked users attempt to edit a page. Similar tracking
is being added to MobileFrontend and VisualEditor.

Depends-On: I6bd1c95548616677e1f72ba6bcfc6f2b551c1ca6
Bug: T201717
Change-Id: I18bdb5ce61509ba3c2cea9aa6247656b9bd388e0
includes/api/ApiBase.php