Extension:StaffEdits

Category:Extensions without a compatibility policyCategory:Public domain licensed extensions
MediaWiki extensions manual
StaffEdits
Release status: stableCategory:Stable extensions
Implementation User interfaceCategory:User interface extensions
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.43.1+Category:Extensions with manual MediaWiki version
License Public domain
Download Category:Extensions in Wikimedia version control
Example ShoutWiki
  • $wgStaffEditsMessagePrefix
  • staffedit
Quarterly downloads 0
Public wikis using 1,176 (Ranked 245th)
Translate the StaffEdits extension if it is available at translatewiki.net
Issues Open tasks · Report a bug
Category:All extensions

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

  • 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
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration

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

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

Example

The StaffEdits drop-down menu shown on edit view (action=edit) for privileged users (users who have the staffedit user right).
Category:Extensions by ShoutWiki
Category:All extensions Category:ChangeTagsListActive extensions Category:EditPage::showEditForm:initial extensions Category:Extensions by ShoutWiki Category:Extensions in Wikimedia version control Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:ListDefinedTags extensions Category:Public domain licensed extensions Category:RecentChange save extensions Category:Stable extensions Category:User interface extensions