Help:Patrolled edits

From Rizon Wiki
Jump to: navigation, search
PD {{{text}}}|Important note: When you edit this page, you agree to release your contribution into the public domain. If you don't want this or can't do this because of license restrictions, please don't edit. This page is one of the {{ #ifeq:
 Rizon Wiki
MediaWiki Public Domain Help Pages Public Domain Help Pages

}}, which can be freely copied into fresh wiki installations and/or distributed with MediaWiki software; see Help:Contents for an overview of all pages. See {{ #ifeq:

 Rizon Wiki
MediaWiki Project:PD help/Copying Project:PD help/Copying

}} for instructions.}}


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

Marking edits as patrolled

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 ({{ #ifeq:
 Rizon Wiki

| MediaWiki | diff | diff }}) link next to an edit

  1. To mark the edit as patrolled, click the mark as patrolled link

Hiding patrolled edits from recent changes

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



Patrolled edits are enabled by default in MediaWiki 1.4 and later. To disable this, set {{ #ifeq:

 Rizon Wiki

| MediaWiki | $wgUseRCPatrol | $wgUseRCPatrol }} in {{ #ifeq:

 Rizon Wiki

| MediaWiki | LocalSettings.php | LocalSettings.php }} to false.

$wgUseRCPatrol = false;



In MediaWiki 1.4, patrolled edits are enabled for all users. To restrict this to sysops, set $wgOnlySysopsCanPatrol in {{ #ifeq:

 Rizon Wiki

| MediaWiki | LocalSettings.php | LocalSettings.php }} to true.

$wgOnlySysopsCanPatrol = true;


In MediaWiki 1.5 and later, patrolled edits are enabled for sysops. Use the {{ #ifeq:

 Rizon Wiki

| MediaWiki | $wgGroupPermissions | $wgGroupPermissions }} configuration variable to assign this to new or existing user groups. See {{ #ifeq:

 Rizon Wiki

| MediaWiki | Manual:User rights management | Manual:User rights management }}.

For instance, to create a patrollers group:

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

Automatic patrolling

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.


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

  • {{ #ifeq:
 Rizon Wiki

| MediaWiki | Further reading on the Meta-Wiki | Further reading on the Meta-Wiki }}

  • {{ #ifeq:
 Rizon Wiki

| MediaWiki | Extension:FlaggedRevs | Extension:FlaggedRevs }}