Steps to reproduce
- Run python pwb.py category move -from:"category1" -to:"category2"
- Bot moves category page to a new name
- Bot only sometimes adds CFD template to page "category1" on cswiki
Expected behavior
Bot should always add CFD template when renaming a category.
Current behavior
The CFD template is added only in cca 1 of 5 cases. I can't figure out what is the key. It seems like bot is doing this randomly. I thought it is caused by links to the category from other pages, but it isn't.
Configuration
last commit of pwb core from Gerrit, Python v3.5.2–3.6.1; the bug is present in master branch at least since Jan 2016