[Pywikipedia-bugs] [Maniphest] [Commented On] T212632: Drop current implementation of botirc.IRCBot

2019-05-08 Thread Dvorapa
Dvorapa added a comment.


  My tests today revealed, that IRCBot does work correctly, only if 
non-existing server and non-existing channel are given. If any of these exists, 
IRCBot hangs when trying to post a message to the channel with no 
traceback/error thrown. Also it doesn't fail for syntax errors, which is weird.

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

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

To: Dvorapa
Cc: Dvorapa, Aklapper, Xqt, pywikibot-bugs-list, Viztor, DannyS712, Wenyi, 
Tbscho, MayS, Framawiki, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, 
Dalba, Masti, Alchimista, Rxy
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-08 Thread gerritbot
gerritbot added a comment.


  Change 508893 had a related patch set uploaded (by Framawiki; owner: 
Framawiki):
  [pywikibot/core@master] [bugfix] clear tokens on logout()
  
  https://gerrit.wikimedia.org/r/508893

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

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

To: Framawiki, gerritbot
Cc: Dvorapa, Xqt, Aklapper, pywikibot-bugs-list, Framawiki, Viztor, DannyS712, 
Wenyi, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Dalba, 
Masti, Alchimista, Rxy
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-08 Thread Framawiki
Framawiki added a comment.


  The later patch also intents to skip test on AppVeyor.
  I'm not sure how to deal with the `pywikibot.data.api.APIError: Failed: You 
have made too many recent login attempts. Please wait 5 minutes before trying 
again.` present on Travis.

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

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

To: Framawiki
Cc: Dvorapa, Xqt, Aklapper, pywikibot-bugs-list, Framawiki, joker88john, 
Viztor, DannyS712, CucyNoiD, NebulousIris, Wenyi, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Baloch007, 
Darkminds3113, Bsandipan, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
Tbscho, MayS, WSH1906, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, 
mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T222508: action=logout needs CSRF token, since API breaking change

2019-05-08 Thread gerritbot
gerritbot added a project: Patch-For-Review.

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

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

To: Framawiki, gerritbot
Cc: Dvorapa, Xqt, Aklapper, pywikibot-bugs-list, Framawiki, joker88john, 
Viztor, DannyS712, CucyNoiD, NebulousIris, Wenyi, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Baloch007, 
Darkminds3113, Bsandipan, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
Tbscho, MayS, WSH1906, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, 
mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T222759: [RfC] Drop support for script_wui.py

2019-05-08 Thread gerritbot
gerritbot added a comment.


  Change 508717 **merged** by jenkins-bot:
  [pywikibot/core@master] Drop support for script_wui.py
  
  https://gerrit.wikimedia.org/r/508717

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

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

To: gerritbot
Cc: Dvorapa, Aklapper, pywikibot-bugs-list, Pyfisch, AbdealiJK, valhallasw, 
DrTrigon, Dalba, hashar, Xqt, joker88john, Viztor, DannyS712, CucyNoiD, 
NebulousIris, Wenyi, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, 
Adrian1985, Cpaulf30, Baloch007, Darkminds3113, Bsandipan, Lordiis, Adik2382, 
Th3d3v1ls, Ramalepe, Liugev6, Tbscho, MayS, WSH1906, Lewizho99, Mdupont, 
JJMC89, Maathavan, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T222759: [RfC] Drop support for script_wui.py

2019-05-08 Thread Dvorapa
Dvorapa added a comment.


  > Do you need Interface admin rights to change it?
  
  Not for your account/bot
  
  > Again to PAWS: I think PAWS is a better approach for it because you don't 
need configuration on any css page; you can just start all scripts you want to.
  
  Sure, it is.
  
  > Anyway what do you think about that script. You made the most work 
exploring its behavior and dependencies and there are only few steps to 
document it (most is made above). If you tend to keep I'll be fine with it.
  
  Let's drop it to archive, I like your patch. Then I will create a patch to 
make it run again and create at least basic documentations to it.

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

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

To: Dvorapa
Cc: Dvorapa, Aklapper, pywikibot-bugs-list, Pyfisch, AbdealiJK, valhallasw, 
DrTrigon, Dalba, hashar, Xqt, joker88john, Viztor, DannyS712, CucyNoiD, 
NebulousIris, Wenyi, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, 
Adrian1985, Cpaulf30, Baloch007, Darkminds3113, Bsandipan, Lordiis, Adik2382, 
Th3d3v1ls, Ramalepe, Liugev6, Tbscho, MayS, WSH1906, Lewizho99, Mdupont, 
JJMC89, Maathavan, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T222759: [RfC] Drop support for script_wui.py

2019-05-08 Thread Xqt
Xqt added a comment.


  > - Every save of shell code in .css page generates MediaWiki built-in abuse 
filter, which asks you if you really want to save invalid css code (as it is 
not a css code at all). You must click Publish again
  
  Do you need Interface admin rights to change it?
  
  Again to PAWS: I think PAWS is a better approach for it because you don't 
need configuration on any css page; you can just start all scripts you want to.
  
  Ok, cronjobs may be problematic (see T124972 
) and the timeout is too low keep it 
running. As windows user I have to find out alternatives anyway. Some scripts 
does not need a schedular because they are just sleeping a bit like 
checkimages.py or welcome.py.
  
  Anyway what do you think about that script. You made the most work exploring 
its behavior and dependencies and there are only few steps to document it (most 
is made above). If you tend to keep I'll be fine with it.

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

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

To: Xqt
Cc: Dvorapa, Aklapper, pywikibot-bugs-list, Pyfisch, AbdealiJK, valhallasw, 
DrTrigon, Dalba, hashar, Xqt, joker88john, Viztor, DannyS712, CucyNoiD, 
NebulousIris, Wenyi, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, 
Adrian1985, Cpaulf30, Baloch007, Darkminds3113, Bsandipan, Lordiis, Adik2382, 
Th3d3v1ls, Ramalepe, Liugev6, Tbscho, MayS, WSH1906, Lewizho99, Mdupont, 
JJMC89, Maathavan, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T222759: [RfC] Drop support for script_wui.py

2019-05-08 Thread Dvorapa
Dvorapa added a comment.


  Okay. I managed to run it:
  
  The way it works:
  
  1. Install lua, crontab and irc
  2. Create /script wui-shell.css, /script wui-crontab.css and /Simulation 
subpages for your bot
  3. Edit /script wui-shell.css with the code you want to run by bot and 
script_wui will run it immediately
  
  Possible issues:
  
  - Every save of shell code in .css page generates MediaWiki built-in abuse 
filter, which asks you if you really want to save invalid css code (as it is 
not a css code at all). You must click Publish again
  - It should work somehow with lua, but I could not manage to find out how
  - It definitely needs better documentation. In fact it needs any documentation

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

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

To: Dvorapa
Cc: Dvorapa, Aklapper, pywikibot-bugs-list, Pyfisch, AbdealiJK, valhallasw, 
DrTrigon, Dalba, hashar, Xqt, joker88john, Viztor, DannyS712, CucyNoiD, 
NebulousIris, Wenyi, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, 
Adrian1985, Cpaulf30, Baloch007, Darkminds3113, Bsandipan, Lordiis, Adik2382, 
Th3d3v1ls, Ramalepe, Liugev6, Tbscho, MayS, WSH1906, Lewizho99, Mdupont, 
JJMC89, Maathavan, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs