Manual:FixUserRegistration.php/fi
Appearance
MediaWiki version: | ≥ 1.7 |
tiedosto MediaWiki: fixUserRegistration.php | |
---|---|
Sijainti: | maintenance/ |
Lähdekoodi: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Sarjat: | 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.
Options/Arguments
This script does not take any options or arguments.
Käyttö
php maintenance/fixUserRegistration.php
Terminal
$ php maintenance/fixUserRegistration.php Waiting for replica DBs... done.