Page MenuHomePhabricator

Page.change_category capitalizes words
Closed, InvalidPublicBUG REPORT

Description

Steps to replicate the issue:

>>> import pywikibot as p
>>> site = p.Site()
>>> page = p.Page(site, 'Rejtő Jenő')
>>> page.change_category('A holokauszt áldozatai', 'A holokauszt magyar áldozatai', summary='Kategória pontosítása')
ERROR: [[hu:Rejtő Jenő]] is not in category A Holokauszt Áldozatai!
False
>>>

What happens?:
I get the abover error. Note that I wrote 'A holokauszt áldozatai' and Pywikibot changed it to 'A Holokauszt Áldozatai'.

What should have happened instead?:
Should not capitalize. :-)

Software version (skip for WMF-hosted wikis like Wikipedia): 8.0.0