Manual:CleanupUsersWithNoId.php/ja

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:CleanupUsersWithNoId.php and the translation is 45% complete.

Other languages:
English • ‎polski • ‎فارسی • ‎日本語 • ‎한국어

詳細

cleanupUsersWithNoId.php is a maintenance script that cleans up tables that have valid usernames with no user ID. It should once be run in wikis that contain imported revisions or global blocks via the CentralAuth extension.

使用法

php cleanupUsersWithNoId.php --prefix=prefix [--table=table] [--assign]
オプション/パラメーター 説明
--prefix Interwiki prefix to apply to the usernames. This is a required parameter.
--table Only clean up this table. The name of one single table can be provided here. If not provided, all affected tables will be cleaned up. These are: revision, archive, logging, image, oldimage, filearchive, ipblocks and recentchanges.
--assign Assign edits to existing local users if they exist.

php cleanupUsersWithNoId.php --table=revision

This will only clean up the revision table.