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.
リリースの状態: 安定 |
|
|---|---|
| 説明 | The extension helps wiki administrators to keep track of inactive users, send warning emails and block accounts. |
| 作者 | WikiWorks team |
| メンテナー | WikiTeq team |
| 互換性の方針 | 長期間サポート リリースであるすべての MediaWiki リリースについて、拡張機能に対応するブランチが存在します。 |
| MediaWiki | 1.35+ |
|
|
|
|
users,block,inactive |
|
|
blockinactive,alwaysactive |
|
| ライセンス | MIT ライセンス |
| ダウンロード | README |
| translatewiki.net で翻訳を利用できる場合は、BlockInactive 拡張機能の翻訳にご協力ください | |
| 問題点 | 未解決のタスク · バグを報告 |
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.
インストール
- ダウンロードして、ファイルを
extensions/フォルダー内のBlockInactiveという名前のディレクトリ内に配置します。
開発者とコード寄稿者は、上記の代わりに以下を使用してGitからインストールします:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/BlockInactive
- 以下のコードを LocalSettings.php ファイルの末尾に追加します:
wfLoadExtension( 'BlockInactive' );
- 更新スクリプトを実行します。このスクリプトは、この拡張機能が必要とするデータベーステーブルを自動的に作成します。
完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。
see Special:BlockInactive page.
Due to some of the queries used, this extension is currently not compatible with SQLite.
設定
| Name | Default | 説明 |
|---|---|---|
$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
権限
blockinactive- allows to view theSpecial:BlockInactivepage, by default is granted to sysop and bureaucrat groups.
