Dvorapa added a subscriber: Urbanecm. Dvorapa added a comment.
In T71283#5444154 <https://phabricator.wikimedia.org/T71283#5444154>, @zhuyifei1999 wrote: > In T71283#5443879 <https://phabricator.wikimedia.org/T71283#5443879>, @Dvorapa wrote: > >> The only thing needed is to support specifying two accounts, one bot, one sysop and allow to switch between them easily (by a parameter?) > > This violates zero one infinity rule <https://en.wikipedia.org/wiki/Zero_one_infinity_rule>. If sysop is different, why would any other right be different? T71283#1040594 <https://phabricator.wikimedia.org/T71283#1040594> > Besides, what is the need for the separation? And how frequent do they appear? 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 depending on whether sysop rights are needed or not. I suggest somethng like this (pseudocode): main_username[wikipedia][cs] = 'Dvorapa' other_usernames[wikipedia][cs] = ['DvorapaBot', 'DvorapaTest'] $ python pwb.py category move -user:DvorapaBot -family:wikibooks -lang:sk $ python pwb.py category move -user:DvorapaBot ( = -family:wikipedia -lang:cs) $ python pwb.py category move ( = -user:Dvorapa -family:wikipedia -lang:cs) Another option would be something like this: usernames[wikipedia][cs] = ['DvorapaBot', 'DvorapaTest', 'Dvorapa'] $ python pwb.py add_text uses DvorapaBot as this does not need sysop rights $ python pwb.py delete tries DvorapaBot, but because of the lack of sysop rights for DvorapaBot it tries Dvorapa instead, successfully as this does require sysop rights @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 think this through quickly and come up with some ideal solution TASK DETAIL https://phabricator.wikimedia.org/T71283 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Huji, Dvorapa Cc: Urbanecm, Dvorapa, Huji, Dalba, zhuyifei1999, Sn1per, Aklapper, Ciencia_Al_Poder, gerritbot, XZise, jayvdb, Ricordisamoa, pywikibot-bugs-list, Hook696, Daryl-TTMG, RomaAmorRoma, 0010318400, E.S.A-Sheild, joker88john, Viztor, DannyS712, CucyNoiD, NebulousIris, Wenyi, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Af420, Darkminds3113, Bsandipan, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Tbscho, MayS, WSH1906, Lewizho99, Mdupont, JJMC89, Maathavan, Altostratus, Avicennasis, mys_721tx, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
