Manual:Pywikibot/commons link.py

Include Commons template in home wiki.

This bot functions mainly in the en.wikipedia, because it compares the names of articles and category in English language (standard language in Commons). If the name of an article in Commons will not be in English but with redirect, this also functions.

Syntax
 python pwb.py commons_link [action] [pagegenerator] where action can be one of these: * pages     : Run over articles, include * categories : Run over categories, include and pagegenerator can be one of these:

Pages to work on can be specified using any of: