Manual:fixUserRegistration.php
Appearance
| MediaWiki バージョン: | ≧ 1.7 |
| MediaWiki ファイル: fixUserRegistration.php | |
|---|---|
| 場所: | maintenance/ |
| ソース コード: | master • 1.45.1 • 1.44. • 1.39.16 |
| クラス: | FixUserRegistration |
詳細
fixUserRegistration.php file is a maintenance script to fix the user_registration field.
Old user accounts have the user_registration field set to "NULL".
This script searches for those users who are affected, and inserts the timestamp from their first edit as an estimation for the registration time into the user_registration field.
This script processes 1000 items in a batch.
オプション/引数
このスクリプトにはオプション/引数はありません。
使用法
php maintenance/run.php fixUserRegistration
Terminal
$ php maintenance/run.php fixUserRegistration Waiting for replica DBs... done.
MediaWiki バージョン 1.39.16 以前では、メンテナンス スクリプトを
php maintenance/run.php スクリプト名 ではなく php maintenance/スクリプト名.php を使用して実行する必要があります。