Help:Patrolled edits
<languages/>
Template:PD Help Page
<translate> Patrolled edits is a feature which allows specific users to mark [[<tvar name=newpg>Special:NewPages</tvar>|new pages]] and items in <tvar name=recent>Special:RecentChanges</tvar> as "patrolled", meaning "approved".</translate>
<translate> By default this is only available if you have the [[<tvar name=sysop>Special:MyLanguage/Help:Sysops and permissions</tvar>|sysop permission]]; many wikis grant a <tvar name=patrol>'patrol'</tvar> permission to groups of users.</translate>
<translate> This feature is useful when reviewing recent changes for undesirable edits, link spam and vandalism.</translate> <translate> 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).</translate>
<translate> This feature also allows setting trustworthy users' edits to be automatically patrolled, so that the people who review recent changes need not spend time doing unnecessary reviewing.
Marking edits as patrolled
- To mark an edit as patrolled
- Access <tvar name=recent>Special:RecentChanges</tvar>
- Changes which are not patrolled display with a red exclamation mark (<tvar name=1>!</tvar>).
- Click the ([[<tvar name=2>m:Special:MyLanguage/Help:Diff</tvar>|diff]]) link next to an edit.
- To mark the edit as patrolled, click the <tvar name=mark>Mark as patrolled</tvar> link.
- To mark a new page as patrolled
- Access Special:NewPages</translate>
<translate>
- New pages which are not patrolled display with a yellow background.</translate>
<translate>
- To mark a new page as patrolled, visit it and click the <tvar name=text>⧼markaspatrolledlink⧽</tvar> link near the bottom of the page.
- To mark a new file as patrolled
- Access Special:NewFiles</translate>
<translate>
- If you want to see only unpatrolled files, check "<tvar name=hide>Hide patrolled uploads</tvar>"</translate>
<translate>
- To mark a new file or new file version as patrolled, visit it and click the <tvar name=text>⧼markaspatrolledlink⧽</tvar> link near the bottom of the file description.
Caveats
</translate>
- <translate> There is currently [[<tvar name=1>phab:T22399</tvar>|no method]] to undo the marking of a page as patrolled.</translate>
<translate>
Hiding patrolled edits from recent changes
Patrolled edits can be hidden from recent changes by adding <tvar name=1>&hidepatrolled=1</tvar> to the URL in the following form:
</translate>
https://interesting-times.frost.cx/mediawiki/index.php?title=Special:RecentChanges&hidepatrolled=1
<translate> Note: this works only for users with the <tvar name=1>patrol</tvar> or <tvar name=2>patrolmarks</tvar> right.</translate>
<translate> This might change after <tvar name=bug>Template:Task</tvar> is solved in future.</translate>
<translate>
Customization
Enabling/disabling
</translate>
Template:MW 1.4
<translate> Patrolled edits are enabled by default in MediaWiki 1.4 and later.</translate>
<translate> To disable this, set <tvar name=1>$wgUseRCPatrol</tvar> in <tvar name=2>LocalSettings.php</tvar> to <tvar name=3>false</tvar>.</translate>
<syntaxhighlight lang=php> $wgUseRCPatrol = false; </syntaxhighlight>
<translate>
Permissions
</translate>
Template:MW 1.4
<translate>
In MediaWiki 1.4, patrolled edits are enabled for all users. To restrict this to sysops, set <tvar name=1>$wgOnlySysopsCanPatrol</tvar> in <tvar name=LocalSettings>LocalSettings.php</tvar> to <tvar name=2>true</tvar>.
</translate>
<syntaxhighlight lang=php> $wgOnlySysopsCanPatrol = true; </syntaxhighlight>
<translate> In MediaWiki 1.5 and later, patrolled edits are enabled for sysops.</translate>
<translate> Use the <tvar name=GroupPermissions>$wgGroupPermissions</tvar> configuration variable to assign this to new or existing user groups.</translate>
<translate> See <tvar name=1>Manual:User rights management</tvar>.</translate>
<translate> For instance, to create a patrollers group: </translate>
$wgGroupPermissions['patrollers']['patrol'] = true;
<translate>
Automatic patrolling
</translate>
<translate> In MediaWiki 1.6 through 1.8, there is a [[<tvar name=pref>Special:MyLanguage/Help:preferences</tvar>|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. </translate>
<translate> 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.
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 <tvar name=1>span.unpatrolled</tvar> class.
Log
Patrolling actions are listed in the Patrol log ([<tvar name=url>https://interesting-times.frost.cx/mediawiki/index.php?title=Special:Log&type=patrol</tvar> example]).
See also
</translate>
- Help:Patrolling – <translate> General definition of RC patrolling</translate>
- Extension:FlaggedRevs
- Extension:ApprovedRevs
- Manual:Patrolling
- Project:Autopatrolled users
[[Category:Help{{#translation:}}|Patrolled edits]]
