Manual:Pywikibot/commonscat.py

commonscat.py is a script used to add the template  to categories.

The tool works by following the interwiki links. If the template is present on another language page, the bot will use it.

You could probably use it at articles as well, but this isn't tested.

Parameters
The following parameters are supported:

For example to go through all categories:

This bot uses pagegenerators to get a list of pages. The following options are supported: