XTools/Opting in to restricted statistics

From mediawiki.org
Jump to navigation Jump to search
Other languages:
Bahasa Indonesia • ‎Deutsch • ‎English • ‎Lëtzebuergesch • ‎Nederlands • ‎Scots • ‎Tiếng Việt • ‎Türkçe • ‎asturianu • ‎azərbaycanca • ‎brezhoneg • ‎dansk • ‎eesti • ‎español • ‎euskara • ‎français • ‎galego • ‎hrvatski • ‎italiano • ‎lietuvių • ‎magyar • ‎norsk bokmål • ‎occitan • ‎polski • ‎português • ‎português do Brasil • ‎română • ‎slovenščina • ‎suomi • ‎svenska • ‎vèneto • ‎čeština • ‎беларуская (тарашкевіца) • ‎български • ‎македонски • ‎нохчийн • ‎русский • ‎тоҷикӣ • ‎українська • ‎қазақша • ‎հայերեն • ‎עברית • ‎ئۇيغۇرچە • ‎سنڌي • ‎فارسی • ‎پښتو • ‎کوردی • ‎नेपाली • ‎मराठी • ‎हिन्दी • ‎বাংলা • ‎தமிழ் • ‎తెలుగు • ‎ತುಳು • ‎മലയാളം • ‎ไทย • ‎ဘာသာ မန် • ‎မြန်မာဘာသာ • ‎ქართული • ‎中文 • ‎日本語 • ‎한국어

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:

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.[1] Alternatively, a whole project can elect to be opted in by filing a request on Phabricator. Your wiki should have had a local discussion showing consensus for these statistics to be allowed.

How to opt in[edit]

To opt in, a user must create the page Special:MyPage/EditCounterOptIn.js (as in User:<username>/EditCounterOptIn.js) 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 User:<username>/EditCounterGlobalOptIn.js) on MetaWiki. Again, the actual content of this page is irrelevant.

How to opt out[edit]

To opt out the relevant user page (single-wiki or global; see above) should be blanked or deleted.