Jump to: navigation, search

This page was moved from MetaWiki.
It probably requires cleanup – please feel free to help out. In addition, some links on the page may be red; respective pages might be found at Meta. Remove this template once cleanup is complete.

Bug blank.svg
Wikimedia Git repository has this file:

When a page needs to be changed in order to refresh all kinds of relations, can do the work. This program updates a record without making any changes. Running will not create entries on the "recent 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.

Scenario 1[edit | edit source]

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

Parameters[edit | edit source]

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.

Touch also understands the general parameters '-lang' and '-family', and the same as

Examples[edit | edit source] -start:!
 python -lang:fr -family:wiktionary -cat:anglais
 python -lang:fr -family:wiktionary -transcludes:"pron-rég"

See also[edit | edit source]