MediaWiki extensions manual
Release status: stable
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.39.7+
License Public domain
Example ShoutWiki
  • $wgStaffEditsMessagePrefix
  • staffedit
Quarterly downloads 2 (Ranked 136th)
Public wikis using 1,176 (Ranked 245th)
Translate the StaffEdits extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

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.

Installation edit

  • Download and move the extracted StaffEdits folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/StaffEdits
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'StaffEdits' );
  • Configure at your convenience
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration edit


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 extension:

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

Example edit

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