Extension:DeleteHistory
From MediaWiki.org
|
DeleteHistory Release status: stable |
|
|---|---|
| Implementation | Special page |
| Description | Delete history and optimize MySQL database to win a lot of disk space |
| Author(s) | Pierre Mavro (Pmavrotalk) |
| Last version | 0.5 |
| MediaWiki | 1.14+ |
| License | GNU General Public Licence 2.0 |
| Download | Snapshot |
| Check usage and version matrix | |
This extension:
- Deletes old unwanted information in history
- Frees up to 90% disk space in the MediaWiki database
Contents |
Prerequisite [edit]
- Be sure you've got php5-cli installed. If you're under Debian like OS :
aptitude install php5-cli
Installation [edit]
Method 1 [edit]
Download the latest snapshot version and uncompress it in your extensions directory (ex. /var/www/mediawiki/extensions) :
wget -O DeleteHistory.tgz "http://git.deimos.fr/?p=mediawiki_DeleteHistory.git;a=snapshot;h=HEAD;sf=tgz" mkdir DeleteHistory tar -xzf DeleteHistory.tgz --strip 1 -C DeleteHistory rm -f DeleteHistory.tgz
Method 2 [edit]
Clone it via Git :
git clone http://git.deimos.fr/git/mediawiki_DeleteHistory.git DeleteHistory
Configuration [edit]
- Edit your LocalSettings.php and add those lines :
# DeleteHistory $wgGroupPermissions['sysop']['DeleteHistory'] = true; include('extensions/DeleteHistory/DeleteHistory.php');
- That's all, now you can go in Special Pages and try the DeleteHistory extension. If you don't see anything new, it's because you don't have the admin privileges.
User rights [edit]
If you don't see anything new, it's because you don't have the admin privileges.
Usage [edit]
Go into Special Page to delete history.
Changelog [edit]
v0.6 [edit]
Adding German language
v0.5 [edit]
Adding Engine and Collation tables informations when requesting optimization. It helps to understand the result of it.
v0.4.1 [edit]
- Fix some vulnerability
v0.4 [edit]
- Compatible with MediaWiki 1.18
v0.3 [edit]
- Show in KB or MB in the database space won when an optimize runs
- Changed shown order (Result,Optimisation Status,Logs)
- Added arrays style to results
v0.2 [edit]
- Compatible with MediaWiki 1.16
v0.1 [edit]
- First release