Extension:BlockInactive
Appearance
This extension is professionally maintained by the WikiTeq team.
WikiTeq provides official support for MediaWiki LTS releases only. It may work with other MediaWiki releases.
BlockInactive Release status: stable |
|
---|---|
Description | The extension helps wiki administrators to keep track of inactive users, send warning emails and block accounts. |
Author(s) | WikiWorks team |
Maintainer(s) | WikiTeq team |
Compatibility policy | For every MediaWiki release that is a Long Term Support release there is a corresponding branch in the extension. |
MediaWiki | 1.35+ |
Tables | blockinactive_emails |
License | MIT License |
Download | README |
|
|
users,block,inactive |
|
blockinactive,alwaysactive |
|
Quarterly downloads | 7 (Ranked 129th) |
Translate the BlockInactive extension if it is available at translatewiki.net | |
Issues | Open tasks ¡ Report a bug |
The extension is intended to help wiki administrators to keep track of inactive users, send warning emails to such users and then automatically block their account if no action were taken in time.
It's possible to configure number of days since last login to be considered as inactivity, number of days since last login to actually block a user account and setup a schedule for warning messages to be sent prior to blocking.
This extension was created for WikiWorks.
Installation
- Download and move the extracted
BlockInactive
folder to yourextensions/
directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/BlockInactive - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'BlockInactive' );
- Run the update script which will automatically create the necessary database tables that this extension needs.
- Done â Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
see Special:BlockInactive
page.
Due to some of the queries used, this extension is currently not compatible with SQLite.
Configuration
Name | Default | Description |
---|---|---|
$wgBlockInactiveThreshold |
210 | Number of days since the last login to start considering user as inactive and begin sending reminders |
$wgBlockInactiveDaysBlock |
270 | Number of days since the last login to actually block the user |
$wgBlockInactiveWarningDaysLeft |
[ 30, 5 ] |
Schedule in form of days left before blocking to send warning emails on |
Configure cron to run maintenance/blockinactive.php
script @daily
Permissions
blockinactive
- allows to view theSpecial:BlockInactive
page, by default is granted to sysop and bureaucrat groups.