Help:Patrolled edits

From Vietnam Veterans for Factual History
Revision as of 00:46, 13 October 2017 by Schmehl (talk | contribs)
Jump to navigation Jump to search

Patrolled edits is a feature which allows specific users to mark [[<tvar|newpg>Special:NewPages</>|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
  1. Access Special:RecentChanges
    Changes which are not patrolled display with a red exclamation mark (<abbr title="Lua error: Cannot create process: proc_open(/log/lua.error): Failed to open stream: No such file or directory" class="unpatrolled">!).
  2. Click the (diff) link next to an edit.
  3. To mark the edit as patrolled, click the Lua error: Cannot create process: proc_open(/log/lua.error): Failed to open stream: No such file or directory link.
To mark a new page as patrolled
  1. Access Special:NewPages
  1. New pages which are not patrolled display with a yellow background.
  1. To mark a new page as patrolled, visit it and click the <tvar|text>Lua error: Cannot create process: proc_open(/log/lua.error): Failed to open stream: No such file or directory</> link near the bottom of the page.
To mark a new file as patrolled
  1. Access Special:NewFiles
  1. If you want to see only unpatrolled files, check "<tvar|hide>Lua error: Cannot create process: proc_open(/log/lua.error): Failed to open stream: No such file or directory</>"
  1. To mark a new file or new file version as patrolled, visit it and click the <tvar|text>Lua error: Cannot create process: proc_open(/log/lua.error): Failed to open stream: No such file or directory</> link near the bottom of the file description.

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:


https://wiki.vvfh.org/index.php?title=Special:RecentChanges&hidepatrolled=1


Note: this works only for users with the patrol or patrolmarks right. This might change after T44246 is solved in future.

Customization

Enabling/disabling

Template:MW 1.4


Patrolled edits are enabled by default in MediaWiki 1.4 and later. To disable this, set $wgUseRCPatrol in LocalSettings.php to false.


$wgUseRCPatrol = false;

Permissions

Template:MW 1.4


In MediaWiki 1.4, patrolled edits are enabled for all users. To restrict this to sysops, set $wgOnlySysopsCanPatrol in <tvar|LocalSettings>LocalSettings.php</> to true.


$wgOnlySysopsCanPatrol = true;

Template:MW 1.5


In MediaWiki 1.5 and later, patrolled edits are enabled for sysops. Use the <tvar|GroupPermissions>$wgGroupPermissions</> configuration variable to assign this to new or existing user groups. See [[<tvar|rights>Special:MyLanguage/Manual:User rights management</>|Manual:User rights management]].

For instance, to create a patrollers group:


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


Automatic patrolling

Lua error: Cannot create process: proc_open(/log/lua.error): Failed to open stream: No such file or directory


In MediaWiki 1.6 through 1.8, there is a [[<tvar|pref>Special:MyLanguage/Help:preferences</>|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.


Template:MW 1.9


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

  • [[<tvar|meta>meta:Special:MyLanguage/Help:Patrolled edit</>|meta:Help:Patrolled edit]] - Further reading on the Meta-Wiki
  • [[<tvar|FlaggedRevs>Special:MyLanguage/Extension:FlaggedRevs</>|Extension:FlaggedRevs]]