[Pywikipedia-bugs] [Maniphest] [Commented On] T71283: dualism between user and sysop needs to be overtaken

2019-08-22 Thread zhuyifei1999
zhuyifei1999 added a comment. config2.py needs to emit a warning that sysopnames don't work anymore (if we decide to just break it) TASK DETAIL https://phabricator.wikimedia.org/T71283 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb,

[Pywikipedia-bugs] [Maniphest] [Commented On] T229293: invalid CSRF token error shown with each block

2019-08-22 Thread Dvorapa
Dvorapa added a comment. Yes, the functionality is archaic and for todays needs of sysops (one sysop account, one bot account) it does not work well anyway (Pywikibot should support some //easy// switching between two accounts in the future). Also I think the functionality to set different

[Pywikipedia-bugs] [Maniphest] [Commented On] T229293: invalid CSRF token error shown with each block

2019-08-22 Thread Huji
Huji added a comment. @Ciencia_Al_Poder I agree with you in essence. All of these checks are a side effect of the fact that we have historically allowed a user to run *one* bot script with a configuration that includes *more than one* user account (one normal account, one sysop account).

[Pywikipedia-bugs] [Maniphest] [Commented On] T229293: invalid CSRF token error shown with each block

2019-08-22 Thread Ciencia_Al_Poder
Ciencia_Al_Poder added a comment. I think the bot shouldn't check user rights neither. Do what the bot owner has instructed it to do, and if you can't by permissions, the api will return a relevant error. TASK DETAIL https://phabricator.wikimedia.org/T229293 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Updated] T71283: dualism between user and sysop needs to be overtaken

2019-08-22 Thread Huji
Huji added a comment. I am considering to take this over after T229293 is fixed. Besides site.py is there any other place where we allow dualism? TASK DETAIL https://phabricator.wikimedia.org/T71283 EMAIL PREFERENCES