Add block notice stats on EditPage.
authorDayllan Maza <dmaza@wikimedia.org>
Thu, 8 Nov 2018 04:03:53 +0000 (23:03 -0500)
committerDayllan Maza <dmaza@wikimedia.org>
Wed, 28 Nov 2018 05:51:37 +0000 (00:51 -0500)
commit49bb28b557e08ef564459665fab461e75376c5c6
tree4f681cbdc05ca2787761995cbeaeb6cb26887f57
parent1b53f3f6e222f9108c7b35f47cbfa38d447208ea
Add block notice stats on EditPage.

Monitoring block notices is behind $wgEnableBlockNoticeStats config
flag which is set to false 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.

Bug: T201718
Change-Id: I6bd1c95548616677e1f72ba6bcfc6f2b551c1ca6
includes/DefaultSettings.php
includes/EditPage.php