Extensión: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 40% complete.

Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎suomi • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎sicilianu • ‎中文
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.svg
Absentee Landlord

Release status:Extension status beta

ImplementaciónTemplate:Extension#type User activity
DescripciónTemplate:Extension#description Auto-locks the wiki database if the sysops are all inactive for some time
Autor(es)Template:Extension#username Ryan Schmidt and Tim Laqua
Latest versionTemplate:Extension#version 1.2.0 (2014-03-30)
MediaWikiTemplate:Extension#mediawiki 1.17+
Cambios de la base de datosTemplate:Extension#needs-updatephp No
LicenciaTemplate:Extension#license GNU General Public License 2.0 or later
Descarga
ParámetrosTemplate:Extension#parameters
  • $wgAbsenteeLandlordMaxDays
Hooks que usaTemplate:Extension#hook
BeforePageDisplayManual:Hooks/BeforePageDisplay

Translate the AbsenteeLandlord extension if it is available at translatewiki.net

Verificar uso y versión de la matriz.

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.

Instalación

  • Descarga y extrae los archivos en el directorio «AbsenteeLandlord» dentro del directorio extensions/ existente.
  • Añade el siguiente código a tu LocalSettings.php (preferiblemente al final):
    require_once "$IP/extensions/AbsenteeLandlord/AbsenteeLandlord.php";
    
  • Configuralo a tu gusto
  • YesY Listo – Navega a Special:Version en tu wiki para verificar que la apariencia se haya instalado correctamente.

Configuración

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;