Manual:FixUserRegistration.php

Details
fixUserRegistration.php file is a maint-scripts>Special:MyLanguage/Manual:Maintenance scripts|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.