Page MenuHomePhabricator

page_views variable
Closed, ResolvedPublic

Description

Author: admin

Description:
Add to AbuseFilter variable with viewcount of page: integer from "This page has been accessed $1 times".

Example of filter with this variable:

Code:

  • action == 'delete' & page_views > 1000

Actions:

  • Warn: Abusefilter-delete-popular

Code:

  • action == 'delete' & page_views > 1000 &! 'olsysop' in user_groups

Actions:

  • Disallowing

Version: unspecified
Severity: enhancement

Details

Reference
bz28362

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:28 PM
bzimport added a project: AbuseFilter.
bzimport set Reference to bz28362.

Note that the page views data is not readily available on WMF projects.
http://www.mediawiki.org/wiki/Manual:$wgDisableCounters
This rfe is still sensible for other projects.

admin wrote:

Yes, this request for non-Wikimedia projects.

Change merged (Please notice that this doesn't effect the WMF hosted wikis!)