Extension:AbsenteeLandlord

Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
Absentee Landlord
Release status: betaCategory:Beta status extensions
Implementation User activity Category:User activity extensions
Description Auto-locks the wiki database if the sysops are all inactive for some time
Author(s) Ryan Schmidt and Tim Laqua
Latest version 1.4.0 (2019-12-30)
MediaWiki 1.17+Category:Extensions with manual MediaWiki version
Database changes No
License GNU General Public License 2.0 or later
Download Category:Extensions in Wikimedia version control
  • $wgAbsenteeLandlordMaxDays
Quarterly downloads 9 (Ranked 79th)
Translate the AbsenteeLandlord extension if it is available at translatewiki.net
Category:All extensions

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

  • Download and move the extracted AbsenteeLandlord folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/AbsenteeLandlord
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'AbsenteeLandlord' );
    
  • Configure at your convenience
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration

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;
Category:All extensions Category:BeforePageDisplay extensions Category:Beta status extensions Category:Extensions in Wikimedia version control Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:GPL licensed extensions Category:MediaWikiServices extensions Category:User activity extensions