Help:Patrolled edits

From MediaWiki.org
Jump to: navigation, search

Other languages:
català • ‎Deutsch • ‎English • ‎British English • ‎español • ‎français • ‎Bahasa Indonesia • ‎italiano • ‎日本語 • ‎한국어 • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎українська • ‎中文
PD Note: When you edit this page, you agree to release your contribution under the CC0. See Public Domain Help Pages for more info.
PD

Patrolled edits is a feature which allows specific users to mark items in recent changes as having been "patrolled" or "approved". By default this is only available if you have sysop permissions.

This feature is useful when reviewing recent changes for undesirable edits, link spam and vandalism. This allows people (with permission to do so) to coordinate their patrolling activity, such that edits get checked over once, with less wasted effort (different people checking the same edit).

This feature also allows setting trustworthy users' edits to be automatically patrolled, so that the people who review recent changes need not spend time to make unnecessary review.

Marking edits as patrolled[edit | edit source]

To mark an edit as patrolled
  1. Access Special:RecentChanges
    Changes which are not patrolled will be indicated with a red exclamation mark (!)
  2. Click the (diff) link next to an edit
  3. To mark the edit as patrolled, click the Mark as patrolled link

Hiding patrolled edits from recent changes[edit | edit source]

Patrolled edits can be hidden from recent changes by adding &hidepatrolled=1 to the URL in the following form:

http://www.mediawiki.org/w/index.php?title=Special:RecentChanges&hidepatrolled=1

Note: this works only for users with the patrol or patrolmarks right. This might change after bugzilla:42246 is solved in future.

Customization[edit | edit source]

Enabling/disabling[edit | edit source]

MediaWiki version: 1.4

Patrolled edits are enabled by default in MediaWiki 1.4 and later. To disable this, set $wgUseRCPatrol in LocalSettings.php to false.

$wgUseRCPatrol = false;

Permissions[edit | edit source]

MediaWiki version: 1.4

In MediaWiki 1.4, patrolled edits are enabled for all users. To restrict this to sysops, set $wgOnlySysopsCanPatrol in LocalSettings.php to true.

$wgOnlySysopsCanPatrol = true;


MediaWiki version: 1.5

In MediaWiki 1.5 and later, patrolled edits are enabled for sysops. Use the $wgGroupPermissions configuration variable to assign this to new or existing user groups. See Manual:User rights management.

For instance, to create a patrollers group:

$wgGroupPermissions['patrollers']['patrol'] = true;

Automatic patrolling[edit | edit source]

MediaWiki versions: 1.6 – 1.8

In MediaWiki 1.6 through 1.8, there is a user preference available to users who are able to mark edits as patrolled. When set, this causes their edits to be patrolled automatically.

This option is not available if the patrolled edits feature is switched off.


MediaWiki version: 1.9

In MediaWiki 1.9 this user preference has been removed and replaced by a new "autopatrol" right, assigned only to sysops by default. Also, users cannot mark their own edits as patrolled.

Marker[edit | edit source]

The formatting of the unpatrolled edit marker can be altered using CSS. The exclamation mark displayed on the Recent changes log is styled using the span.unpatrolled class.

See also[edit | edit source]