Manual:Pywikibot/template.py

This Pywikibot bot script replaces a template with another, and converts the old MediaWiki boilerplate format to the new template format.

Usage

 * Syntax:
 * Example:

Specify the template on the command line. The program will pick up the template page, and look for all pages using it. It will then automatically loop over them, and replace the template.

Output
Example of output when running this bot (using windows which does not need "python" typed in): C:\Users\t\Desktop\pywikibot> template.py "TOCright" "TOCright test" Getting references to Template:TOCright via API... Getting 3 pages from dead:en... >>>  Talk:Zombrex Posters  <<< - +

Do you want to accept these changes? ([y]es, [N]o, [e]dit, open in [b]rowser, [a]ll, [q]uit) n

0 pages were changed.