Huji created this task.
Huji added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  I am using a bot to block open proxies; the bot works without any problem 
(blocks are successfully done) but after each block I see this warning on 
terminal:
  
  `WARNING: API error badtoken: Invalid CSRF token`
  
  The bot's code can be seen here 
<https://github.com/PersianWikipedia/fawikibot/blob/d68e71edc230ac1917d54bead3b9b52f5fbd59bc/HujiBot/findproxy.py>.
 Note that it uses a version of Site.py which already has the patch for T229288 
<https://gerrit.wikimedia.org/r/#/c/pywikibot/core/+/526278/> implemented (so 
please don't be surprised with the extra paramter for `userblock()` function; 
the warning occurs without it too).

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

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

To: Huji
Cc: Aklapper, Huji, pywikibot-bugs-list, Viztor, DannyS712, Wenyi, Tbscho, 
MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, 
Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to