Extension:AbsenteeLandlord
From MediaWiki.org
|
Absentee Landlord Release status: beta |
|||
|---|---|---|---|
| Implementation | User activity | ||
| Description | Auto-locks the wiki database if the sysops are all inactive for some time | ||
| Author(s) | Ryan Schmidt and Tim Laqua | ||
| Last version | 1.1 (2008-06-11) | ||
| MediaWiki | 1.16+ | ||
| Database changes | no | ||
| License | GPL | ||
| Download | |||
|
|||
|
|||
| Check usage and version matrix | |||
The AbsenteeLandlord extension will automatically lock the database from any further changes if a sysop has not been on the wiki recently (determined by $wgAbsenteeLandlordMaxDays). This helps prevent dead or inactive wikis from becoming spambot targets. To unlock the database, a sysop simply needs to visit the wiki again.
Installation [edit]
- Download and extract the files in a directory called "
AbsenteeLandlord" in your extensions/ folder. - Add the following code to your LocalSettings.php (at the bottom)
require_once( "$IP/extensions/AbsenteeLandlord/AbsenteeLandlord.php" );
Done – Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.
Configuration [edit]
By default this extension locks the database after 90 days without having an active sysop. If you would like to change this, e.g. to 60 days you will have to add the following line below the inclusion of this extension:
$wgAbsenteeLandlordMaxDays = 60;
| Language: | English • русский |
|---|