Vladis13 added a comment.

  I think the bug is somewhere in `/pywikibot/page/_basepage.py` → 
`change_category()`. Maybe on line #2255 
<https://github.com/wikimedia/pywikibot/blob/c5147e912dba3d6d8c3aecc0eb5f27fb7ad5510a/pywikibot/page/_basepage.py#L2255>.
 Or in `pywikibot/textlib.py`→  `textlib.replaceCategoryInPlace()` subfunction 
on line #1576 
<https://github.com/wikimedia/pywikibot/blob/c5147e912dba3d6d8c3aecc0eb5f27fb7ad5510a/pywikibot/textlib.py#L1576>.
  Somewhere there should be a check: if `oldcat == newcat`: skip.

TASK DETAIL
  https://phabricator.wikimedia.org/T384753

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Vladis13
Cc: Aklapper, pywikibot-bugs-list, Vladis13, mevo, PotsdamLamb, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, 
Chicocvenancio, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, 
Avicennasis, Hannolans, mys_721tx, Xqt, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to