Manual:Pywikibot/touch.py/de

touch.py is a script used to go over multiple pages of a wiki, and edit them without changes.

This is for example used to get category links in templates working.

When a page needs to be changed in order to refresh all kinds of relations, touch.py can do the work. This script updates a record without making any changes. Technically, what it does is take each page and save it, without making any changes (null edit), thus refreshing the relations with categories and other relations. This usually doesn’t appear in the page history, however in rare cases it may result in a page history entry (usually due to misbehaving extensions, or when the previous editor managed to leave something in the page which is Pre-save transformed in the bot’s edit).

Szenario 1
When a category is added to a much used template, running touch.py will add the existing pages to the category.

Parameter
Basically touch.py understands the same like as well as the.

Furthermore the parameter purge is supported which applies a purge operation instead of a null edit to the selected files.

The script understands also some additional various command-line arguments: