Hiding individual lines from a page history or log is possible due to the RevisionDelete functionality added to the MediaWiki core codebase in mid-2009. The revision deletion feature is available to users in at least one usergroup that has been given the deleterevision permission (which is not assigned to any group by default) in the MediaWiki configuration. The function has the ability to show/hide the revision itself, the name of the user who made the edit, or the edit summary used - or any combination of those three.
When enabled on an installation and viewed by a user with the appropriate permissions, every page revision and log entry has a smallbutton displayed next to it, as shown in the normal revision and protection log entry below.
Hiding a revision
To show/hide a revision, click the smallbutton next to the relevant revision or log entry that you wish to show/hide. Depending on your permissions, there may be between 3 and 4 different options to choose from:
- show/hide revision text
- show/hide edit comment
- show/hide editor's username/IP
- Apply these restrictions to Sysops and lock this interface (only available to users with the suppressrevision right)
Tick the checkboxes next to each of the items that you wish to apply to the selected and then provide an informative summary in the "Log comment field". Once this information has been filled in, click the "Apply to selected revision" button to submit the information. If this has been done correctly, Revision visibility successfully set should be displayed on your screen.
Unhiding a revision
To show/unhide a revision, click the Revision visibility successfully set message.button for the revision or log entry and simply untick all the boxes, provide your summary and click the "Apply to the selected revision" button. Success should be marked by the display of the
Changing the visibility settings
This is quite similar to unhiding a revision; click thebutton and tick/untick the options that you wish to modify and click the apply button.
Normally, hiding a revision or page history item will produce a log message in the public deletion log or the private supression log (if "Apply these restrictions to Sysops and lock this interface" is ticked). Log entries created in the public deletion log look like those displayed below for page revision and log entries visibilities respectively.