[Pywikipedia-bugs] [Maniphest] [Commented On] T362103: TypeError: 'NoneType' object is not iterable from noreferences script

2024-04-11 Thread Xqt
Xqt added a comment. Please check whether you have `pwb -family:wikipedia -lang:simple` or `pwb -site:Wikipedia:simple` within your command line. TASK DETAIL https://phabricator.wikimedia.org/T362103 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/

[Pywikipedia-bugs] [Maniphest] [Updated] T362377: contributions() doesn't work for CIDR ranges

2024-04-11 Thread Xqt
Xqt added a comment. See also: T135359 TASK DETAIL https://phabricator.wikimedia.org/T362377 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, pywikibot-bugs-list, binbot, Huji, Aklapper,

[Pywikipedia-bugs] [Maniphest] [Updated] T362377: contributions() doesn't work for CIDR ranges

2024-04-11 Thread Pppery
Pppery added a project: Pywikibot. Restricted Application added a subscriber: pywikibot-bugs-list. TASK DETAIL https://phabricator.wikimedia.org/T362377 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Pppery Cc: pywikibot-bugs-list, binbot, Huji,

[pywikibot] Re: How to list contributions of an IP range?

2024-04-11 Thread Huji Lee
Currently, not possible. I created T362377 and I also explained what I think the solution should look like, in the first comment. On Thu, Apr 11, 2024 at 2:45 AM Bináris wrote: > > anon = '89.134.24.79/16' > user = pywikibot.User(site, anon) > for

[Pywikibot-commits] [Gerrit] ...core[master]: [doc] Update ROADMAP.rst, CHANGELOG.rst and AUTHORS.rst

2024-04-11 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1019070?usp=email ) Change subject: [doc] Update ROADMAP.rst, CHANGELOG.rst and AUTHORS.rst .. [doc] Update ROADMAP.rst, CHANGELOG.rst

[Pywikipedia-bugs] [Maniphest] [Commented On] T362103: TypeError: 'NoneType' object is not iterable from noreferences script

2024-04-11 Thread PotsdamLamb
PotsdamLamb added a comment. @Xqt Sorry to be a pain, but can you specify what I need to change in the following, please? I am somewhat technically adept but not a programmer. toolforge jobs run --image tool-pywikibot/pywikibot-scripts-stable:latest --command "pwb -family:wikipedia

[Pywikipedia-bugs] [Maniphest] [Commented On] T362103: TypeError: 'NoneType' object is not iterable from noreferences script

2024-04-11 Thread JJMC89
JJMC89 added a comment. The tool-pywikibot/pywikibot-scripts-stable image does not use any config file you have stored on disk. There is one built into the image that you cannot change, so you must use the CLI arguments to specify the site and you will always see `family and mylang are not

[Pywikipedia-bugs] [Maniphest] [Commented On] T362103: TypeError: 'NoneType' object is not iterable from noreferences script

2024-04-11 Thread PotsdamLamb
PotsdamLamb added a comment. @Xqt for some reason it keeps defaulting me to test, even though I have specified simple in my user config file. # The family of sites to be working on. # Pywikibot will import families/xxx_family.py so if you want to change # this variable, you

[pywikibot] Re: Mass hide revisions

2024-04-11 Thread Bináris
Thanks, we'll try it! It is useful for admins without Pywikibot. JJMC89 ezt írta (időpont: 2024. ápr. 11., Cs, 17:10): > You may find Writ Keeper's massRevdel > > helpful. It allows you to mass hide from

[Pywikipedia-bugs] [Maniphest] [Commented On] T326614: Don't try to login during logout

2024-04-11 Thread gerritbot
gerritbot added a comment. Change #1018821 **merged** by jenkins-bot: [pywikibot/core@master] [FIX] Skip process that requires login to logout https://gerrit.wikimedia.org/r/1018821 TASK DETAIL https://phabricator.wikimedia.org/T326614 EMAIL PREFERENCES

[Pywikibot-commits] [Gerrit] ...core[master]: [FIX] Skip process that requires login to logout

2024-04-11 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1018821?usp=email ) Change subject: [FIX] Skip process that requires login to logout .. [FIX] Skip process that requires login to logout

[pywikibot] Re: Mass hide revisions

2024-04-11 Thread JJMC89
You may find Writ Keeper's massRevdel helpful. It allows you to mass hide from Special:Contributions. Regards, JJ On Thu, Apr 11, 2024 at 1:39 AM Bináris wrote: > *TL;DR*: we can mass hide vandal revisions from pages

[Pywikipedia-bugs] [Maniphest] [Closed] T326614: Don't try to login during logout

2024-04-11 Thread Xqt
Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T326614 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: ericpien, Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, mevo, Isabelladantes1983, Themindcoder, Adamm71,

[Pywikipedia-bugs] [Maniphest] [Commented On] T362103: TypeError: 'NoneType' object is not iterable from noreferences script

2024-04-11 Thread Xqt
Xqt added a comment. @PotsdamLamb: Could you please check the current L10N for simplewiki? TASK DETAIL https://phabricator.wikimedia.org/T362103 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Aklapper, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Commented On] T362103: TypeError: 'NoneType' object is not iterable from noreferences script

2024-04-11 Thread gerritbot
gerritbot added a comment. Change #1018947 had a related patch set uploaded (by Xqt; author: Xqt): [pywikibot/core@master] [L10N] localize noreferences.py for simple-wiki https://gerrit.wikimedia.org/r/1018947 TASK DETAIL https://phabricator.wikimedia.org/T362103 EMAIL

[pywikibot] Mass hide revisions

2024-04-11 Thread Bináris
*TL;DR*: we can mass hide vandal revisions from pages histories, e.g. obscene images and edit comments. Of course, this needs admin rights. It is easy to mass hide revisions from the history of one page without bot, just click checkboxes. But it is tiring, if several pages are involved. I wrote

[pywikibot] How to list contributions of an IP range?

2024-04-11 Thread Bináris
anon = '89.134.24.79/16' user = pywikibot.User(site, anon) for contrib in user.contributions(): print(contrib[1]) This makes nothing. (There is a massive vandal from a range, and I want to hide all the inappropriate contents made by him.) -- Bináris

[Pywikipedia-bugs] [Maniphest] [Commented On] T326614: Don't try to login during logout

2024-04-11 Thread Xqt
Xqt added a comment. @ericpien: thanks a lot for your patch. We have to check it against T222508 but I assume it works as expected. Thanks again. TASK DETAIL https://phabricator.wikimedia.org/T326614 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Assigned] T326614: Don't try to login during logout

2024-04-11 Thread Xqt
Xqt assigned this task to ericpien. TASK DETAIL https://phabricator.wikimedia.org/T326614 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: ericpien, Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, mevo, Isabelladantes1983, Themindcoder, Adamm71,