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 Normal.Nov 21 2014, 11:28 PM
bzimport added a project: AbuseFilter.
bzimport set Reference to bz28362.
bzimport created this task.Apr 1 2011, 2:19 PM

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.

gerrit change I13648435

hoo added a comment.Jan 16 2013, 3:58 PM

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