This category_redirect script is an amazing script of Pywikibot, but I just realized that it is not working as it's documented. Issues are:
- After running the script, it's saving pages immediately without prompt the user to allow or skip the page.
- While pressing Ctrl+C and interrupting the script, we get Traceback (most recent call last):... instead of the execution, read and write calculations.
Typo: recenty → recently- This is the doc of the script and indicates that it will do some good functions, but it is just doing those parts I have bolded here: 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 <userpage>/category_redirect_log. Only category pages that haven't been edited for a certain cooldown period (currently 7 days) are taken into account.
I have localized more than 10 messages of this script into ckb a while ago, but they are still printed in English. Please update the i18n.
In the doc point I haven't tested everything, but the thing I'm sure is that the script doesn't moving pages/subcategories of to the redirected page. All I have seen from the script is just like this edit. That is all I have noticed. Thanks!