Module pywikipedia.touch
This bot goes over multiple pages of the home wiki, and edits them without
changing. This is for example used to get category links in templates
working.
This script understands various command-line arguments:
-start: used as -start:page_name, specifies that the robot should
go alphabetically through all pages on the home wiki,
starting at the named page.
-file: used as -file:file_name, read a list of pages to treat
from the named textfile. Page titles should be enclosed
in [[double-squared brackets]].
-ref: used as -start:page_name, specifies that the robot should
touch all pages referring to the named page.
-cat: used as -cat:category_name, specifies that the robot should
touch all pages in the named category.
All other parameters will be regarded as a page title; in this case, the bot
will only touch a single page.
- Imported modules:
-
pywikipedia.catlib
,
pywikipedia.pagegenerators
,
sys
,
pywikipedia.wikipedia