Manual:removeUnusedAccounts.php

From mediawiki.org
This page is a translated version of the page Manual:RemoveUnusedAccounts.php and the translation is 88% complete.
MediaWiki バージョン:
1.5.5

Details

removeUnusedAccounts.phpメンテナンス スクリプトです。 未使用のアカウント (unused accounts) とは、編集、削除された編集、記録エントリ (タスク T36581)、現在および過去のアップロード、のいずれもないアカウントのことです。

You can use deleteArchivedRevisions.php to first remove deleted revisions (e.g. after a massive vandalism/spam attack) and run removeUnusedAccounts.php afterwards.

オプション

オプション/パラメーター 説明 必須かどうか
--delete アカウントを削除します。 スクリプトを、パラメーター --delete なしで実行した場合は、未使用のアカウントを列挙するのみです (削除はしません)。 省略可能
--ignore-groups 除外するグループをカンマ区切りで並べたリストです。 これらのグループに属するアカウントは、それらが未使用であっても除去されません。 省略可能
--ignore-touched Skip accounts touched in last N days. 設定していない場合、既定値は「1」です。 これを指定した場合、スクリプトはその時点までの未使用アカウントを、わずか数秒前に作成されたアカウントも含めて、すべて 確認/除去します。 省略可能

使用法

php maintenance/removeUnusedAccounts.php [ --delete| --ignore-groups| --ignore-touched ]
Terminal

By default, this script lists unused accounts without deleting them. To delete the unused accounts, run this script with --delete.

Terminal

関連項目