XTools/Opting in to restricted statistics

help translate

Some statistics are considered private by some users, such as the times of the day or year that they edit most or the pages they’ve made most contributions to.

The affected tools are as follows:


 * Monthly counts bar chart
 * Timecard punch chart
 * Top edits per namespace
 * Top edits per namespace
 * Top edits per namespace

Although the data for these statistics is made available via MediaWiki's API, users must explicitly opt in to make the aggregate forms available in XTools. Alternatively, a whole project can elect to be opted in by filing a [ https://phabricator.wikimedia.org/maniphest/task/edit/form/1/?title=Request%20to%20add%20wiki%20to%20restricted%20statistics%20allow%20list&projects=XTools&description=Wiki: request on Phabricator]. Your wiki should have had a local discussion showing consensus for these statistics to be allowed.

How to opt in
To opt in, a user must create the page Special:MyPage/EditCounterOptIn.js (as in ) on each wiki they want to opt in for. This page should be created with any content (it just has to have some content).

To opt in on all projects, they must create meta:Special:MyPage/EditCounterGlobalOptIn.js (as in ) on MetaWiki. Again, the actual content of this page is irrelevant.

Instructions needed for opting out
Documentation needs to be provided giving step-by-step instructions for opting-out on en.wp. These pages are privacy violations and the previous version of this page gave vague assurances that it was possible to opt out without indicating clearly how to do so. {{#if:{{{reflist|}}}|