扩展: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à • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎sicilianu • ‎suomi • ‎русский • ‎中文 • ‎日本語
MediaWiki扩展手册Manual:Extensions
Crystal Clear action run.svg
Absentee Landlord

发布状态:Extension status 测试

实现Template:Extension#type User activity
描述Template:Extension#description 如果所有管理员某一时间都不在活跃就自动锁定wiki数据库
作者Template:Extension#username Ryan Schmidt and Tim Laqua
最新版本Template:Extension#version 1.2.0 (2014-03-30)
MediaWikiTemplate:Extension#mediawiki 1.17+
数据更新Template:Extension#needs-updatephp
许可协议Template:Extension#license GNU General Public License 2.0 or later
下载
参数Template:Extension#parameters
* $wgAbsenteeLandlordMaxDays
使用的钩子Template:Extension#hook
BeforePageDisplayManual:Hooks/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
  • YesY 完成 – 在您的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;