Extension:AbsenteeLandlord

From MediaWiki.org

Jump to: navigation, search
Manual on MediaWiki Extensions
List of MediaWiki Extensions
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
Version 1.0
Download Subversion
Changelog
Parameters $wgAbsenteeLandlordMaxDays
Hooks used

BeforePageDisplay

[edit] Usage

This 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.

[edit] Installation

Please download the code from Subversion, then add the following to LocalSettings.php:

$wgAbsenteeLandlordMaxDays = 90; //max # of days the wiki can be modified without having an active sysop
require_once("$IP/extensions/AbsenteeLandlord/AbsenteeLandlord.php");
Personal tools