Manual:Pywikibot/category redirect.py

category_redirect.py is a script used to move pages out of redirected categories.

The bot will look for categories that are marked with a category redirect template, take the first parameter of the template as the target of the redirect, and move all pages and subcategories of the category there. It also changes hard redirects into soft redirects, and fixes double redirects. A log is written under &lt;userpage>/category_redirect_log. Only category pages that haven't been edited for a certain cooldown period (7 days by default) are taken into account.

The following parameters are supported: