Help:Patrolled edits
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 due to license restrictions, please don't edit. This page is one of the {{ #ifeq:
MMNet Wiki |
MediaWiki | Public Domain Help Pages | [[{{#if:|{{#ifexist:Project:PD help | 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: MMNet Wiki |
MediaWiki | Project:PD help/Copying | [[{{#if:|{{#ifexist:Project:PD help/Copying | Project:PD help/Copying]]
}} for instructions.}} |
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).
Contents
Marking edits as patrolled
- To mark an edit as patrolled
- Access Special:RecentChanges
- Changes which are not patrolled will be indicated with a red exclamation mark (!)
- Click the ({{ #ifeq:
MMNet Wiki
| MediaWiki | diff | [[{{#if:|{{#ifexist:m:Help:Diff||mw:}}}}m:Help:Diff|diff]] }}) link next to an edit
- 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:
http://www.mekwars.org/mediawiki-1.34.1/index.php?title=Special:RecentChanges&hidepatrolled=1
Customization
Enabling/disabling
MediaWiki version{{#if:|s}}: | border-color: #{{#switch: | 1.1 = FFA0A0 | 1.2 = FF9090 | 1.3 = FF8080 | 1.4 = FF6868 | 1.5 = FF5050 | 1.6 = FF0000 | 1.7 = FFE0A0 | 1.8 = FFD898 | 1.9 = FFD484 | 1.10 = FFCC70 | 1.11 = FFC060 | 1.12 = FFB650 | 1.13 = FFAC38 | 1.14 = FF981C | 1.15 = FF8000 | 1.16 = FF8000 | 1.17 = 50A050 | 1.18 = 408040 | 1.19 = C0C0C0 | trunk = FFFFFF | #default = EEEEEE
}}; border-bottom-color: #{{#switch: 1.4 |
1.1 = FFA0A0 | 1.2 = FF9090 | 1.3 = FF8080 | 1.4 = FF6868 | 1.5 = FF5050 | 1.6 = FF0000 | 1.7 = FFE0A0 | 1.8 = FFD898 | 1.9 = FFD484 | 1.10 = FFCC70 | 1.11 = FFC060 | 1.12 = FFB650 | 1.13 = FFAC38 | 1.14 = FF981C | 1.15 = FF8000 | 1.16 = FF8000 | 1.17 = 50A050 | 1.18 = 408040 | 1.19 = C0C0C0 | trunk = FFFFFF | #default = EEEEEE
}};}} text-align: center;" | {{#switch:and later |
and earlier=≤ | and later=≥
}} 1.4{{#if:| – {{{version2}}}}}{{#if: |
|
r? {{#if: | }} | [[Special:Code/MediaWiki/{{{r}}}|{{#if:r{{#if:{{{r}}}|{{{r}}}}}|r{{#if:{{{r}}}|{{{r}}}}}}}]]
}}}}{{#switch:and later |
and after|and earlier|and later|= | #default= | and later
}} |
Patrolled edits are enabled by default in MediaWiki 1.4 and later. To disable this, set {{ #ifeq:
MMNet Wiki
| MediaWiki | $wgUseRCPatrol | [[{{#if:|{{#ifexist:Manual:$wgUseRCPatrol||mw:}}}}Manual:$wgUseRCPatrol|$wgUseRCPatrol]] }} in {{ #ifeq:
MMNet Wiki
| MediaWiki
| LocalSettings.php
| [[{{#if:|{{#ifexist:Manual:Configuration settings||mw:}}}}Manual:Configuration settings|LocalSettings.php]]
}} to false
.
$wgUseRCPatrol = false;
Permissions
MediaWiki version{{#if:|s}}: | border-color: #{{#switch: | 1.1 = FFA0A0 | 1.2 = FF9090 | 1.3 = FF8080 | 1.4 = FF6868 | 1.5 = FF5050 | 1.6 = FF0000 | 1.7 = FFE0A0 | 1.8 = FFD898 | 1.9 = FFD484 | 1.10 = FFCC70 | 1.11 = FFC060 | 1.12 = FFB650 | 1.13 = FFAC38 | 1.14 = FF981C | 1.15 = FF8000 | 1.16 = FF8000 | 1.17 = 50A050 | 1.18 = 408040 | 1.19 = C0C0C0 | trunk = FFFFFF | #default = EEEEEE
}}; border-bottom-color: #{{#switch: 1.4 |
1.1 = FFA0A0 | 1.2 = FF9090 | 1.3 = FF8080 | 1.4 = FF6868 | 1.5 = FF5050 | 1.6 = FF0000 | 1.7 = FFE0A0 | 1.8 = FFD898 | 1.9 = FFD484 | 1.10 = FFCC70 | 1.11 = FFC060 | 1.12 = FFB650 | 1.13 = FFAC38 | 1.14 = FF981C | 1.15 = FF8000 | 1.16 = FF8000 | 1.17 = 50A050 | 1.18 = 408040 | 1.19 = C0C0C0 | trunk = FFFFFF | #default = EEEEEE
}};}} text-align: center;" | {{#switch: |
and earlier=≤ | and later=≥
}} 1.4{{#if:| – {{{version2}}}}}{{#if: |
|
r? {{#if: | }} | [[Special:Code/MediaWiki/{{{r}}}|{{#if:r{{#if:{{{r}}}|{{{r}}}}}|r{{#if:{{{r}}}|{{{r}}}}}}}]]
}}}}{{#switch: |
and after|and earlier|and later|= | #default= |
}} |
In MediaWiki 1.4, patrolled edits are enabled for all users. To restrict this to sysops, set $wgOnlySysopsCanPatrol in {{ #ifeq:
MMNet Wiki
| MediaWiki
| LocalSettings.php
| [[{{#if:|{{#ifexist:Manual:Configuration settings||mw:}}}}Manual:Configuration settings|LocalSettings.php]]
}} to true
.
$wgOnlySysopsCanPatrol = true;
MediaWiki version{{#if:|s}}: | border-color: #{{#switch: | 1.1 = FFA0A0 | 1.2 = FF9090 | 1.3 = FF8080 | 1.4 = FF6868 | 1.5 = FF5050 | 1.6 = FF0000 | 1.7 = FFE0A0 | 1.8 = FFD898 | 1.9 = FFD484 | 1.10 = FFCC70 | 1.11 = FFC060 | 1.12 = FFB650 | 1.13 = FFAC38 | 1.14 = FF981C | 1.15 = FF8000 | 1.16 = FF8000 | 1.17 = 50A050 | 1.18 = 408040 | 1.19 = C0C0C0 | trunk = FFFFFF | #default = EEEEEE
}}; border-bottom-color: #{{#switch: 1.5 |
1.1 = FFA0A0 | 1.2 = FF9090 | 1.3 = FF8080 | 1.4 = FF6868 | 1.5 = FF5050 | 1.6 = FF0000 | 1.7 = FFE0A0 | 1.8 = FFD898 | 1.9 = FFD484 | 1.10 = FFCC70 | 1.11 = FFC060 | 1.12 = FFB650 | 1.13 = FFAC38 | 1.14 = FF981C | 1.15 = FF8000 | 1.16 = FF8000 | 1.17 = 50A050 | 1.18 = 408040 | 1.19 = C0C0C0 | trunk = FFFFFF | #default = EEEEEE
}};}} text-align: center;" | {{#switch:and later |
and earlier=≤ | and later=≥
}} 1.5{{#if:| – {{{version2}}}}}{{#if: |
|
r? {{#if: | }} | [[Special:Code/MediaWiki/{{{r}}}|{{#if:r{{#if:{{{r}}}|{{{r}}}}}|r{{#if:{{{r}}}|{{{r}}}}}}}]]
}}}}{{#switch:and later |
and after|and earlier|and later|= | #default= | and later
}} |
In MediaWiki 1.5 and later, patrolled edits are enabled for sysops. Use the {{ #ifeq:
MMNet Wiki
| MediaWiki | $wgGroupPermissions | [[{{#if:|{{#ifexist:Manual:$wgGroupPermissions||mw:}}}}Manual:$wgGroupPermissions|$wgGroupPermissions]] }} configuration variable to assign this to new or existing user groups. See {{ #ifeq:
MMNet Wiki
| MediaWiki | Manual:User rights management | [[{{#if:|{{#ifexist:Manual:User_rights_management||mw:}}}}Manual:User_rights_management|Manual:User rights management]] }}.
For instance, to create a patrollers group:
$wgGroupPermissions['patrollers']['patrol'] = true;
Automatic patrolling
MediaWiki version{{#if:1.8|s}}: | style="padding: .1em .3em; border: 5px solid #{{#switch: 1.6 | 1.1 = FFA0A0 | 1.2 = FF9090 | 1.3 = FF8080 | 1.4 = FF6868 | 1.5 = FF5050 | 1.6 = FF0000 | 1.7 = FFE0A0 | 1.8 = FFD898 | 1.9 = FFD484 | 1.10 = FFCC70 | 1.11 = FFC060 | 1.12 = FFB650 | 1.13 = FFAC38 | 1.14 = FF981C | 1.15 = FF8000 | 1.16 = FF8000 | 1.17 = 50A050 | 1.18 = 408040 | 1.19 = C0C0C0 | trunk = FFFFFF | #default = EEEEEE
}}; {{#if:1.8 | border-color: #{{#switch: 1.8 |
1.1 = FFA0A0 | 1.2 = FF9090 | 1.3 = FF8080 | 1.4 = FF6868 | 1.5 = FF5050 | 1.6 = FF0000 | 1.7 = FFE0A0 | 1.8 = FFD898 | 1.9 = FFD484 | 1.10 = FFCC70 | 1.11 = FFC060 | 1.12 = FFB650 | 1.13 = FFAC38 | 1.14 = FF981C | 1.15 = FF8000 | 1.16 = FF8000 | 1.17 = 50A050 | 1.18 = 408040 | 1.19 = C0C0C0 | trunk = FFFFFF | #default = EEEEEE
}}; border-bottom-color: #{{#switch: 1.6 |
1.1 = FFA0A0 | 1.2 = FF9090 | 1.3 = FF8080 | 1.4 = FF6868 | 1.5 = FF5050 | 1.6 = FF0000 | 1.7 = FFE0A0 | 1.8 = FFD898 | 1.9 = FFD484 | 1.10 = FFCC70 | 1.11 = FFC060 | 1.12 = FFB650 | 1.13 = FFAC38 | 1.14 = FF981C | 1.15 = FF8000 | 1.16 = FF8000 | 1.17 = 50A050 | 1.18 = 408040 | 1.19 = C0C0C0 | trunk = FFFFFF | #default = EEEEEE
}};}} text-align: center;" | {{#switch: |
and earlier=≤ | and later=≥
}} 1.6{{#if:1.8| – 1.8}}{{#if: |
|
r? {{#if: | }} | [[Special:Code/MediaWiki/{{{r}}}|{{#if:r{{#if:{{{r}}}|{{{r}}}}}|r{{#if:{{{r}}}|{{{r}}}}}}}]]
}}}}{{#switch: |
and after|and earlier|and later|= | #default= | {{{comment}}}
}} |
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{{#if:|s}}: | border-color: #{{#switch: | 1.1 = FFA0A0 | 1.2 = FF9090 | 1.3 = FF8080 | 1.4 = FF6868 | 1.5 = FF5050 | 1.6 = FF0000 | 1.7 = FFE0A0 | 1.8 = FFD898 | 1.9 = FFD484 | 1.10 = FFCC70 | 1.11 = FFC060 | 1.12 = FFB650 | 1.13 = FFAC38 | 1.14 = FF981C | 1.15 = FF8000 | 1.16 = FF8000 | 1.17 = 50A050 | 1.18 = 408040 | 1.19 = C0C0C0 | trunk = FFFFFF | #default = EEEEEE
}}; border-bottom-color: #{{#switch: 1.9 |
1.1 = FFA0A0 | 1.2 = FF9090 | 1.3 = FF8080 | 1.4 = FF6868 | 1.5 = FF5050 | 1.6 = FF0000 | 1.7 = FFE0A0 | 1.8 = FFD898 | 1.9 = FFD484 | 1.10 = FFCC70 | 1.11 = FFC060 | 1.12 = FFB650 | 1.13 = FFAC38 | 1.14 = FF981C | 1.15 = FF8000 | 1.16 = FF8000 | 1.17 = 50A050 | 1.18 = 408040 | 1.19 = C0C0C0 | trunk = FFFFFF | #default = EEEEEE
}};}} text-align: center;" | {{#switch: |
and earlier=≤ | and later=≥
}} 1.9{{#if:| – {{{version2}}}}}{{#if: |
|
r? {{#if: | }} | [[Special:Code/MediaWiki/{{{r}}}|{{#if:r{{#if:{{{r}}}|{{{r}}}}}|r{{#if:{{{r}}}|{{{r}}}}}}}]]
}}}}{{#switch: |
and after|and earlier|and later|= | #default= |
}} |
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
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:
MMNet Wiki
| MediaWiki | General definition of RC Patrolling | [[{{#if:|{{#ifexist:Help:Patrolling||mw:}}}}Help:Patrolling|General definition of RC Patrolling]] }}
- {{ #ifeq:
MMNet Wiki
| MediaWiki | Further reading on the Meta-Wiki | [[{{#if:|{{#ifexist:meta:Help:Patrolled edit||mw:}}}}meta:Help:Patrolled edit|Further reading on the Meta-Wiki]] }}
- {{ #ifeq:
MMNet Wiki
| MediaWiki | Extension:FlaggedRevs | [[{{#if:|{{#ifexist:Extension:FlaggedRevs||mw:}}}}Extension:FlaggedRevs|Extension:FlaggedRevs]] }}