MediaWiki version:
1.7
MediaWiki file: fixUserRegistration.php
Location: maintenance/
Source code: master 1.40.0 1.39.4 1.35.11
Classes: 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.

Usage

php maintenance/fixUserRegistration.php


Terminal
$ php maintenance/fixUserRegistration.php

Waiting for replica DBs... done.

See also

  • User table
  • Manual:invalidateUserSessions.php
  • Manual:CheckUsernames.php
  • Manual:PurgeExpiredUserrights.php
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.