Manual:Pywikibot/touch.py

When a record needs to be changed in order to refresh all kinds of relations, touchall.py can do the work. This program updates a record without making any changes. Running touchall.py will not create entries on the "recent changes". Technically, what it does is taking each page, and saving it in exactly the same form.

Scenario 1
When a category is added to a much used template, running touchall.py will add the existing records to the category.

Parameters

 * start: The default is to go through all pages from Special:Allpages in order. This may however be done spread out over various runs. If one wants to continue, give the argument "-start:page!" with page the last page of which you know it has been done. The bot will then do the pages coming after that.

Touchall also understands the general parameters '-lang' and '-family'.

touchall.py -start:!