Extension:StaffEdits
![]() 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.4+ |
License | Public domain |
Download | |
Example | ShoutWiki |
|
|
Quarterly downloads | 0 |
Public wikis using | 1,176 (Ranked 245th) |
Translate the StaffEdits extension if it is available at translatewiki.net | |
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 place the file(s) in a directory called
StaffEdits
in yourextensions/
folder. - 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]
$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[edit]

action=edit
) for privileged users (users who have the staffedit
user right).