Jump to content

手册:fixUserRegistration.php

From mediawiki.org
This page is a translated version of the page Manual:FixUserRegistration.php and the translation is 50% complete.
MediaWiki版本:
1.7

详情

fixUserRegistration.php 文件是一个用于修复数据库 user_registration 字段的维护脚本。 一些旧用户账户存在在 user_registration字段中值为“NULL”的情况。 该脚本将搜寻那些受影响的用户,并将第一次编辑的时间戳作为注册时间的估计值插入 user_registration 字段。

This script processes 1000 items in a batch.

Options/Arguments

This script does not take any options or arguments.

Usage

php maintenance/run.php fixUserRegistration
Terminal
在MediaWiki 1.39.15 及更早版本中,您必须通过php maintenance/脚本名称.php调用维护脚本,而不是php maintenance/run.php 脚本名称

See also