Manual:RollbackEdits.php/fr

This page is a translated version of the page Manual:RollbackEdits.php and the translation is 30% complete.

Détails

rollbackEdits.php is a maintenance script to rollback all edits by a given user or IP provided they are the most recent edit(s) of a page (just like real rollback). This script can also rollback multiple edits, provided they have been made by the same user or IP. However this script cannot rollback page creations. For this you can use the Nuke extension. Moreover it cannot rollback redirects.

Utilisation

Option/Paramètre Description
--user A user or IP to rollback all edits for. Ce paramètre est obligatoire - également si --titles est utilisé. Le script ne fonctionnera pas si aucun nom d'utilisateur n'est fourni ou si le nom d'utilisateur fourni est invalide.
--titles A list of titles, which should be rolled back. If no titles are provided, all titles where the given user is the most recent editor will be rolled back. Multiple titles have to be separated by a pipe (|). Default: No titles provided.
If the latest edit(s) are not by the user, who has been provided in --user, then the script will leave the page alone and will not roll it back.
--summary Edit summary to use. If no summary is provided, $this->mSelf . ' mass rollback' will be used.
--bot Mark the edits as having been done by a bot.