Manual:RollbackEdits.php
Outdated translations are marked like this.
Arquivo MediaWiki: rollbackEdits.php | |
---|---|
Local: | maintenance/ |
Código fonte: | master • 1.43.0 • 1.42.4 • 1.39.11 |
Classes: | RollbackEdits |
Detalhes
O arquivo rollbackEdits.php é um script de manutenção para reverter todas as edições de um determinado usuário ou IP desde que seja a edição mais recente (exatamente como a reversão real). 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.
Usage
Option/Parameter | Description | Required? |
---|---|---|
--user
|
A user or IP to rollback all edits for. This parameter is mandatory - also if --titles is being used. The script will not work, if no username is provided or if the provided username is invalid.
Due to a bug (T372533), this argument requires that the username is "normalized" (the first character must be capitalized, and all underscores are replaced with spaces). |
Required |
--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.
|
Optional |
--summary
|
Edit summary to use. If no summary is provided, rollbackEdits.php mass rollback will be used. | Optional |
--bot |
Mark the edits as having been done by a bot. | Optional |