Manual:Pywikibot/revertbot.py/ja

revertbot.py is a script used to revert certain edits.

The script helps you clean up after your bot if it does undesirable things. It goes through your bot's list of contributions, from most recent to most ancient, and reverts the last revision your bot made on each page – provided, of course, that your bot made the most recent revision on the page.

It is therefore most effectively used immediately after you notice your bot has gone astray.

使用法
It is invoked by typing.

It should almost certainly not be run unattended, as it does not ask for permission to make changes. Its default – and unalterable – mode is just to automatically make changes.

The following command line parameters are supported:

Users who want to customize the behaviour should subclass the  and override its   method. Here is a sample: