扩展:AbsenteeLandlord

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:AbsenteeLandlord and the translation is 50% complete.

Other languages:
Deutsch • ‎English • ‎català • ‎dansk • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎sicilianu • ‎suomi • ‎русский • ‎中文 • ‎日本語
MediaWiki扩展手册
Crystal Clear action run.svg
Absentee Landlord
发布状态: 测试
实现 User activity
描述 如果所有管理员某一时间都不在活跃就自动锁定wiki数据库
作者 Ryan Schmidt and Tim Laqua
最新版本 1.2.0 (2014-03-30)
MediaWiki 1.17+
数据更新
许可协议 GNU General Public License 2.0 or later
下载
参数
$wgAbsenteeLandlordMaxDays
使用的钩子
BeforePageDisplay
翻译AbsenteeLandlord扩展如果在translatewiki.net可用
检查使用和版本矩阵。

AbsenteeLandlord扩展将自动锁定数据库以阻止更多更改,如果管理员在此wiki当前不活跃(由$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.

安装

  • 下载文件,并将其放置在您extensions/文件夹中的AbsenteeLandlord目录内。
  • 将下列代码放置在您的LocalSettings.php的底部:
    require_once "$IP/extensions/AbsenteeLandlord/AbsenteeLandlord.php";
    
  • Configure at your convenience
  • Yes 完成 – 在您的wiki上导航至Special:Version,以验证扩展已成功安装。

配置

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;