Handbuch:fixUserRegistration.php
Appearance
| MediaWiki Version: | ≥ 1.7 |
| MediaWiki-Datei: fixUserRegistration.php | |
|---|---|
| Speicherort: | maintenance/ |
| Quellcode: | master • 1.45.1 • 1.44. • 1.39.16 |
| Klassen: | FixUserRegistration |
Details
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.
Optionen/Argumente
Dieses Skript akzeptiert keine Optionen oder Argumente.
Verwendung
php maintenance/run.php fixUserRegistration
Terminal
$ php maintenance/run.php fixUserRegistration Waiting for replica DBs... done.
In MediaWiki version 1.39.16 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php instead of php maintenance/run.php scriptName.