Manual:Pywikibot/commons link.py

commons_link.py is a script used to 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
where action can be one of these:


 * pages     : Run over articles, include
 * categories : Run over categories, include

and page generator can be one of these: