[Pywikipedia-bugs] [Maniphest] [Reopened] T231263: Pywikibot cannot delete pages despite the user having sufficient rights

2019-08-28 Thread JJMC89
JJMC89 reopened this task as "Open". JJMC89 added a comment. rPWBC5811a544278e: Check a user's rights rather than group memberships did not resolve the issue. Now, with or without `sysopnames` in

[Pywikipedia-bugs] [Maniphest] [Triaged] T164154: TestOauthLoginManger.test_identity is failing with AssertionError: None is not an instance of

2019-08-28 Thread Xqt
Xqt triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T164154 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dalba, Xqt Cc: gerritbot, jayvdb, Xqt, Aklapper, pywikibot-bugs-list, Dalba, Hook696, Daryl-TTMG,

[Pywikipedia-bugs] [Maniphest] [Updated] T225591: Make Travis and Appveyor pass again

2019-08-28 Thread Xqt
Xqt added a subtask: T164154: TestOauthLoginManger.test_identity is failing with AssertionError: None is not an instance of . TASK DETAIL https://phabricator.wikimedia.org/T225591 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: D3r1ck01,

[Pywikipedia-bugs] [Maniphest] [Updated] T164154: TestOauthLoginManger.test_identity is failing with AssertionError: None is not an instance of

2019-08-28 Thread Xqt
Xqt added a parent task: T225591: Make Travis and Appveyor pass again. TASK DETAIL https://phabricator.wikimedia.org/T164154 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dalba, Xqt Cc: gerritbot, jayvdb, Xqt, Aklapper, pywikibot-bugs-list, Dalba,

[Pywikipedia-bugs] [Maniphest] [Block] T102477: login script -pass parameter ignored

2019-08-28 Thread Xqt
Xqt reopened subtask T164154: TestOauthLoginManger.test_identity is failing with AssertionError: None is not an instance of class dict as Open. TASK DETAIL https://phabricator.wikimedia.org/T102477 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To:

[Pywikipedia-bugs] [Maniphest] [Reopened] T164154: TestOauthLoginManger.test_identity is failing with AssertionError: None is not an instance of

2019-08-28 Thread Xqt
Xqt reopened this task as "Open". Xqt added a comment. Reopened. The first AssertionError is back again: https://travis-ci.org/wikimedia/pywikibot/jobs/577846828 TASK DETAIL https://phabricator.wikimedia.org/T164154 EMAIL PREFERENCES

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

2019-08-28 Thread Urbanecm
Urbanecm added a comment. LGTM @zhuyifei1999 TASK DETAIL https://phabricator.wikimedia.org/T71283 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Huji, Urbanecm Cc: Urbanecm, Dvorapa, Huji, Dalba, zhuyifei1999, Sn1per, Aklapper,

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

2019-08-28 Thread zhuyifei1999
zhuyifei1999 added a comment. This is assuming the default family/lang is Commons. The same applies to any other site if the parameters passed to the Site constructor matches any case given to the `usernames` dict. `del usernames['commons']`: >>> pywikibot.Site().username()

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

2019-08-28 Thread Urbanecm
Urbanecm added a comment. I don't understand. Can you show me examples? TASK DETAIL https://phabricator.wikimedia.org/T71283 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Huji, Urbanecm Cc: Urbanecm, Dvorapa, Huji, Dalba, zhuyifei1999, Sn1per,

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

2019-08-28 Thread zhuyifei1999
zhuyifei1999 added a comment. In T71283#5446694 , @Urbanecm wrote: > True that, it can be just one username per site, the preferred one? But listing that usernames can be actually useful as a safeguard, to not allow an username that's

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

2019-08-28 Thread Urbanecm
Urbanecm added a comment. In T71283#5446690 , @zhuyifei1999 wrote: > In T71283#5446608 , @Urbanecm wrote: > >> name=user-config.py >> accounts = { >> "oznamovatel": { >>

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

2019-08-28 Thread zhuyifei1999
zhuyifei1999 added a comment. In T71283#5446611 , @Dvorapa wrote: > BTW Pywikibot tests miss the way to simply switch between several accounts (OAuth, BotPasswords, regular password) as well. The login manager is too stateful. You

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

2019-08-28 Thread zhuyifei1999
zhuyifei1999 added a comment. In T71283#5446608 , @Urbanecm wrote: > name=user-config.py > accounts = { > "oznamovatel": { > "username": "Oznamovatel", > "oauth": [ consumer key, consumer secret, client

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

2019-08-28 Thread Dvorapa
Dvorapa added a comment. I also have got and use several account for various things and I miss a way to simply switch between them. BTW Pywikibot tests miss the way to simply switch between several accounts (OAuth, BotPasswords, regular password) as well. TASK DETAIL

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

2019-08-28 Thread Urbanecm
Urbanecm added a comment. In T71283#5446512 , @Dvorapa wrote: > @Urbanecm What would be the best way to solve sysop/bot account dualism in Pywikibot? Currently important changes in this field are being merged to Pywikibot, we should

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

2019-08-28 Thread zhuyifei1999
zhuyifei1999 added a comment. In T71283#5446512 , @Dvorapa wrote: > This is quite common situation on Czech Wikipedia, one bot account and one sysop account for every sysop bot operator, edits by Pywikibot are made from each of them

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

2019-08-28 Thread Dvorapa
Dvorapa added a comment. > This violates zero one infinity rule . If sysop is different, why would any other right be different? T71283#1040594 What is ZOI rule? Never heard about

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

2019-08-28 Thread Dvorapa
Dvorapa added a subscriber: Urbanecm. Dvorapa added a comment. In T71283#5444154 , @zhuyifei1999 wrote: > In T71283#5443879 , @Dvorapa wrote: > >> The only thing needed is to support

[Pywikipedia-bugs] [Maniphest] [Closed] T216825: Enable global args with pwb.py script for tests

2019-08-28 Thread Xqt
Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T216825 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: gerritbot, Aklapper, pywikibot-bugs-list, Dalba, Xqt, Hook696, Daryl-TTMG, RomaAmorRoma, 0010318400,

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

2019-08-28 Thread gerritbot
gerritbot added a comment. Change 532713 abandoned by Huji: [WIP] Deprecate sysopnames Reason: Moving to 533015 for a minimal approach https://gerrit.wikimedia.org/r/532713 TASK DETAIL https://phabricator.wikimedia.org/T71283 EMAIL PREFERENCES

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

2019-08-28 Thread gerritbot
gerritbot added a comment. Change 533015 had a related patch set uploaded (by Huji; owner: Huji): [pywikibot/core@master] Deprecate sysopnames https://gerrit.wikimedia.org/r/533015 TASK DETAIL https://phabricator.wikimedia.org/T71283 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T216825: Enable global args with pwb.py script for tests

2019-08-28 Thread gerritbot
gerritbot added a comment. Change 495479 **merged** by jenkins-bot: [pywikibot/core@master] [IMPR] Enable global args with pwb.py script https://gerrit.wikimedia.org/r/495479 TASK DETAIL https://phabricator.wikimedia.org/T216825 EMAIL PREFERENCES