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
With that page you can change the visibility of a revision: Or change the visibility of a log entry:
 * Hide revision text
 * Hide edit comment
 * Hide editor's username/IP
 * Hide action and target
 * Hide action comment
 * Hide editor's username/IP

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
To enable it, you have to set some user rights in LocalSettings.php. The following example is a commented out part in DefaultSettings.php:


 * To hide revisions/log items from users :


 * To hide usernames from users and Sysops :


 * To hide revisions/log items from users and Sysops (also needs deleterevision right) :


 * For private suppression log access :

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.