Jump to content

XTools/选择展示受限统计信息

From mediawiki.org
This page is a translated version of the page XTools/Opting in to restricted statistics and the translation is 43% complete.

某些统计信息被用户认为是私密的,例如他们作出编辑次数最多的一天或一年,或者他们作出最多编辑的页面。

受影响的工具如下:

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

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

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