Extension:DeletedContributions
From MediaWiki.org
|
Deleted Contributions Release status: stable |
|
|---|---|
| Implementation | Special page |
| Description | A tool to list all of a user's deleted edits |
| Author(s) | Aaron Schulz |
| Version | 2008-02-01 (2008-02-01) |
| MediaWiki | 1.8+ |
| Download | SVN |
| Hooks used | |
DeletedContributions is an extension for MW 1.8 that adds a Special:DeletedContributions page to MediaWiki (see bug 1699).
This page shows all deleted contributions by a user. This page shows the information only to users with the "delete" right, typically members of sysop group. It looks similar to Special:Contributions.
Each entry has, in this order:
- The date
- The link to all deleted revs for the page
- A link to the specific deleted revision
- An m for minor edits
- The edit summary
It also adds a link to a user's deleted contributions when viewing Special:Contributions (only on MW1.11+).
[edit] Prerequisites
- Run the following SQL query to add a user index to the archive table (deleted revisions) if you are using a version of MediaWiki older than 1.11:
ALTER TABLE `mw_archive` ADD INDEX `usertext_timestamp` ( `ar_user_text` , `ar_timestamp` )
- Note, your prefix may not be 'mw', use the appropriate one.
- This index is required by the extension. It can be modified otherwise, but doing so is not recommended for larger wikis.
- The (diff) links will not work for MW < 1.12, you can use the version of this software in the 1.11 branch to avoid having these show.
[edit] Installation
Add the line require_once('extensions/DeletedContributions/SpecialDeletedContributions.php'); to the end of your LocalSettings.php file.
Or if you are using a more recent trunk version of the extension require_once('extensions/DeletedContributions/DeletedContributions.php');.
This extension is being used on one or more of Wikimedia's wikis. It means that the extension is stable and works well enough to be used by such high traffic websites. A full list of the extensions installed on a particular wiki is produced by Special:Version on that wiki.

