Extension:AbsenteeLandlord

This page is a translated version of the page Extension:AbsenteeLandlord and the translation is 30% complete.
Podręcznik rozszerzeń MediaWiki
Absentee Landlord
Status wydania: beta
Realizacja Aktywność użytkownika
Opis Auto-locks the wiki database if the sysops are all inactive for some time
Autor(zy) Ryan Schmidt and Tim Laqua
Ostatnia wersja 1.4.0 (2019-12-30)
MediaWiki 1.17+
Zmiany w bazie danych Nie
Licencja GNU General Public License 2.0 or later
Pobieranie
  • $wgAbsenteeLandlordMaxDays
Quarterly downloads 22 (Ranked 122nd)
Przetłumacz rozszerzenie AbsenteeLandlord jeżeli jest dostępne na translatewiki.net

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.

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie AbsenteeLandlord w folderze extensions/.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/AbsenteeLandlord
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'AbsenteeLandlord' );
    
  • Configure at your convenience
  •   Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

Konfiguracja

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;