Open main menu

Extension:StaffEdits

MediaWiki extensions manual
OOjs UI icon advanced.svg
StaffEdits
Release status: stable
StaffEdits.png
Implementation User interface
Description Allows to tag edits as "official staff edits" in the edit view
Author(s) Jack Phoenix
Latest version 0.1.3 (2016-12-16)
MediaWiki 1.33+
License Public domain
Download
Example ShoutWiki
$wgStaffEditsMessagePrefix
staffedit
Translate the StaffEdits extension if it is available at translatewiki.net
Check usage and version matrix.

StaffEdits is an extension which enables users with the staffedit user right (i.e. ShoutWiki staff on ShoutWiki) to choose to tag their edits as "official ShoutWiki staff edits" in the action=edit mode in a way that cannot be faked by anyone.

When the extension is enabled, the staffedit tag is displayed on Special:Tags as well as on Special:RecentChanges, next to each and every staff edit, if there are any such edits.

InstallationEdit

  • Download and place the file(s) in a directory called StaffEdits in your extensions/ folder.

ConfigurationEdit

$wgStaffEditsMessagePrefix

This sets a simple lowercase abbreviation of the organization the Staff are a part of. So "sw" for ShoutWiki, or "wmf" for the Wikimedia Foundation, etc. Once you set this, you really shouldn't change it. Defaults to "sw".

system messages
user right and user group

The user right "staffedit" is by default set to the user group, e.g. "staff" which also comes with this exension:

$wgGroupPermissions['staff']['staffedit'] = true;

ExampleEdit

 
The StaffEdits drop-down menu shown on edit view (action=edit) for privileged users (users who have the staffedit user right).