Extension:DeletedContributions
From MediaWiki.org
This extension is obsolete!
It has been replaced by core functionality in the MediaWiki software (which was added in version 1.14.0).
|
Release status: stable |
|||
|---|---|---|---|
| Implementation | Special page | ||
| Description | A tool to list all of a user's deleted edits | ||
| Author(s) | Aaron Schulz | ||
| Last Version | 2008-02-01 (2008-02-01) | ||
| MediaWiki | 1.8+ | ||
| License | No license specified | ||
| Download | Download snapshot |
||
|
|||
|
check usage (experimental) |
|||
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
You will need to add the required line to your wiki's LocalSettings.php file:
- The more recent trunk version of the extension:
require_once('extensions/DeletedContributions/DeletedContributions.php');. - Older versions of extensions:
require_once('extensions/DeletedContributions/SpecialDeletedContributions.php');
To check which line you will need to add, simply look in the extension's files: if there is a file called "DeletedContributions.php" (without Special... in front), you should add the first line; if there is a file called "SpecialDeletedContributions.php", then you need the second.