Dalba closed this task as "Resolved".
Dalba claimed this task.
Dalba added a comment.

The bug was fixed by 097245e7e3 . now it is a warning:

 $ python pwb.py cosmetic_changes.py -ns:0 -family:wiktionary -lang:cs -page:'!' -summary:"cc" -simulate
 ATTENTION: You can run this script as a stand-alone for testing purposes.
 However, the changes that are made are only minor, and other users
 might get angry if you fill the version histories and watchlists with such
 irrelevant changes. Some wikis prohibit stand-alone running.
 Do you really want to continue? ([y]es, [N]o): y
 Retrieving 1 pages from wiktionary:cs.
 
 
>>> ! <<<
 WARNING: /home/jayvdb/projects/pywiki/core/pywikibot/textlib.py:1180: DeprecationWarning: Using unstripped text is deprecated; use stripped text instead.
   addOnly=True)
 
 No changes were needed on [[!]]
 
 1 pages read
 0 pages written
 Execution time: 15 seconds
 Read operation time: 15 seconds
 Script terminated successfully.

I cannot reproduce the DeprecationWarning using that particular command but I believe the underlying issue can be resolved through T184886. Marking this task as resolved.


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

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

To: Dalba
Cc: Dalba, jayvdb, JAnD, pywikibot-bugs-list, Aklapper, XZise, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89, Avicennasis, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to