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: [email protected]
          Reporter: [email protected]
    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%AC%B8%EC%82%AC_%EC%9D%80%ED%96%89%EB%82%98%EB%AC%B4&diff=prev&oldid=11655206
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to