Help:Patrolled edits

From Gearhead Wiki
Jump to: navigation, search

Patrolled edits are 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 (those who can see it) to coordinate their patrolling activity, such that edits gets checked over once, but with less wasted effort (different people checking the same edit)

Marking edits as patrolled[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 source]

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

http://example.com/w/index.php?title=Special:Recentchanges&hidepatrolled=1

Customization[edit source]

Enabling/disabling[edit source]

Patrolled edits are enabled by default in MediaWiki 1.4. In MediaWiki 1.5 and later, set $wgUseRCPatrol in LocalSettings.php.

$wgUseRCPatrol = true;

Permissions[edit source]

1.4[edit source]

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

$wgOnlySysopsCanPatrol = true;

1.5+[edit source]

In MediaWiki 1.5 and later, patrolled edits are enabled for sysops. Use the $wgGroupPermissions configuration variable for this.

For instance, to create a patrollers group:

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

Automatic patrolling[edit source]

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.

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 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.

See also[edit source]