Manual:RevisionDelete
- "Suppress" and "suppression" redirects here
- Maybe you were looking for Extension:Oversight, a somewhat similar extension that has in some respects been superseded by this feature, but is still used on some major wikis.
As of MediaWiki 1.16.0 Core MediaWiki has a feature (disabled by default) that adds a special page called Special:RevisionDelete.
What it does [edit]
With that page you can change the visibility of a revision:
- Hide revision text
- Hide edit summary
- Hide editor's username/IP address
Or change the visibility of a log entry:
- Hide action and target
- Hide edit summary
- Hide editor's username/IP address
Deleted revisions and events will still appear in the page history and logs, but parts of their content will be inaccessible to the public. A group of oversight users can also be created that has power to make these parts inaccessible to sysops as well.
For the technical part of this feature, see Bitfields for rev deleted.
Enabling [edit]
To enable it, you have to set some user rights in LocalSettings.php. Example:
- To enable revisions/log items for users:
-
$wgGroupPermissions['user']['deleterevision'] = true;
The following example is a commented out part in DefaultSettings.php:
- To hide log items/revisions from users
-
$wgGroupPermissions['sysop']['deletelogentry'] = true;
-
$wgGroupPermissions['sysop']['deleterevision'] = true;
- To hide usernames from users and Sysops
-
$wgGroupPermissions['suppress']['hideuser'] = true;
- To hide revisions/log items from users and Sysops
-
$wgGroupPermissions['suppress']['suppressrevision'] = true;
- For private suppression log access
-
$wgGroupPermissions['suppress']['suppressionlog'] = true;
To assign this right to admin (user #1) or other users, log in as the site bureaucrat (Only bureaucrats can assign this role to other user, usually user with id #1 has it by default) and go to Special:UserRights. Enter the name of the user that you wish to assign as "oversight", and check then the "oversight" box.
See also [edit]
| Language: | English • español • français • 日本語 • 한국어 • polski • português • русский |
|---|