https://bugzilla.wikimedia.org/show_bug.cgi?id=58084
Web browser: --- Bug ID: 58084 Summary: "category.py move" adds categories from transcluded templates. Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: category.py Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: cdpark@gmail.com Classification: Unclassified Mobile Platform: ---
When moving category using "python category.py move -from:XX -to:YY", it does not work properly.
It adds categories from transcluded templates.
For example, [https://ko.wikipedia.org/w/index.php?title=%EC%96%91%ED%8F%89_%EC%9A%A9%EB%A... This edit] adds "[[분류:경기도에 관한 토막글]]"(means"Category:Gyeonngi-do stubs"). This category comes from the transcluded template "{{토막글|경기도}}".
The function "page.categories()" of pywikibot-core differs from pywikibot-compat's.
The "category.py" in pywikibot-compat works well.