|Note: When you edit this page, you agree to release your contribution under the CC0. See Public Domain Help Pages for more info.
Patrolled edits is a feature which allows specific users to mark new pages and items in Special:RecentChanges as "patrolled", meaning "approved".
By default this is only available if you have the sysop permission; many wikis grant a
'patrol' permission to groups of users.
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
- To mark an edit as patrolled
- Access Special:RecentChanges
- Changes which are not patrolled display with a red exclamation mark (!).
- Click the (diff) link next to an edit.
- To mark the edit as patrolled, click the Mark as patrolled link.
- To mark a new page as patrolled
- Access Special:NewPages
- New pages which are not patrolled display with a yellow background.
- To mark a new page as patrolled, visit it and click the [Mark this page as patrolled] link near the bottom of the page.
- To mark a new file as patrolled
- Access Special:NewFiles
- If you want to see only unpatrolled files, check "Hide patrolled uploads"
- To mark a new file or new file version as patrolled, visit it and click the [Mark this file version as patrolled] link near the bottom of the file description.
- There is currently no method to undo the marking of a page as patrolled.
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:
Note: this works only for users with the
This might change after task T44246 is solved in future.
$wgUseRCPatrol = false;
In MediaWiki 1.4, patrolled edits are enabled for all users. To restrict this to sysops, set $wgOnlySysopsCanPatrol in LocalSettings.php to
$wgOnlySysopsCanPatrol = true;
In MediaWiki 1.5 and later, patrolled edits are enabled for sysops.
$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;
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.
In MediaWiki 1.9 this user preference was 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
Patrolling actions are listed in the Patrol log (example).