Manual:CleanupUsersWithNoId.php/fr

This page is a translated version of the page Manual:CleanupUsersWithNoId.php and the translation is 6% complete.
Version de MediaWiki :
1.31

Détails

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.

Options/Arguments

Option Description Required?
--prefix Interwiki prefix to apply to the usernames. This is a required parameter. obligatoire
--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. optionnel
--assign Assign edits to existing local users if they exist. optionnel

Usage

php maintenance/cleanupUsersWithNoId.php --prefix [ --table| --assign ]
Terminal

This will only clean up the revision table.


Lorsqu'il s'exécute, le script crée une note dans la base de données et ne sera plus réexécuté. Pour permettre une nouvelle exécution, relancez la commande avec l'option --force.

Release changes

Changes since MediaWiki 1.34.1

  • (T238043) cleanupUsersWithNoId.php: Handle missing fields.

See also