Page MenuHomePhabricator
Feed Advanced Search

Fri, Apr 12

binbot added a comment to T135359: User.isAnonymous() gives wrong result for IP ranges.

My 2 cents:
Pywikibot does not have the mission to correct ambigiousness of MediaWiki.

Fri, Apr 12, 6:31 AM · Pywikibot
binbot added a comment to T362377: contributions() doesn't work for CIDR ranges.

What about other methods of a user object, such as blocking that are available on web?

Fri, Apr 12, 4:59 AM · Pywikibot

Wed, Apr 3

Pppery awarded T361691: Filter user contributions for non-last edits a Like token.
Wed, Apr 3, 3:35 PM · MediaWiki-Special-pages
binbot updated the task description for T361691: Filter user contributions for non-last edits.
Wed, Apr 3, 10:45 AM · MediaWiki-Special-pages
binbot created T361691: Filter user contributions for non-last edits.
Wed, Apr 3, 10:42 AM · MediaWiki-Special-pages

Jun 6 2023

binbot added a comment to T336101: Stray __TOC__ added by Parsoid in a 3-day window when 1.41.0-wmf.7 group2 wikis had been rolled back..

Not so surprising. :-) But this is not a talk page, and the answering tool
does not work here. The magic word may have been put there on purpose.

Jun 6 2023, 7:01 PM · User-notice-archive, Parsoid-Read-Views (Phase 1 - DiscussionTools support), Essential-Work, Editing-team (Tracking), Content-Transform-Team-WIP, Parsoid, DiscussionTools
binbot awarded T336101: Stray __TOC__ added by Parsoid in a 3-day window when 1.41.0-wmf.7 group2 wikis had been rolled back. a Like token.
Jun 6 2023, 7:02 AM · User-notice-archive, Parsoid-Read-Views (Phase 1 - DiscussionTools support), Essential-Work, Editing-team (Tracking), Content-Transform-Team-WIP, Parsoid, DiscussionTools
binbot added a comment to T336101: Stray __TOC__ added by Parsoid in a 3-day window when 1.41.0-wmf.7 group2 wikis had been rolled back..

I think caused by https://gerrit.wikimedia.org/r/c/mediawiki/services/parsoid/+/903797 and VE interaction. I am not sure how that is happening since I cannot reproduce it locally, but will investigate -- I imagine it is some specific kinds of interactions causing this.

Jun 6 2023, 7:02 AM · User-notice-archive, Parsoid-Read-Views (Phase 1 - DiscussionTools support), Essential-Work, Editing-team (Tracking), Content-Transform-Team-WIP, Parsoid, DiscussionTools

Apr 24 2023

binbot added a project to T57081: Implement support for Flagged Revisions in Pywikibot: Hungarian-Sites.
Apr 24 2023, 11:41 AM · Hungarian-Sites, User-Tgr, MediaWiki-extensions-FlaggedRevs, Pywikibot

Apr 10 2023

binbot added a comment to T334381: commands.log and terminal-interface-bot.log is written despite -nolog.

Now it works. But if I omit -nolog, wrapper-bot.log is written instead of commands.log. I don't see the source of this change in the patch, was it earlier?

Apr 10 2023, 4:34 PM · Pywikibot
binbot created T334381: commands.log and terminal-interface-bot.log is written despite -nolog.
Apr 10 2023, 9:48 AM · Pywikibot

Apr 8 2023

binbot closed T334325: Special:LargeCategories - Create special page to list categories with many members as Resolved.
Apr 8 2023, 9:59 PM · MediaWiki-Special-pages
binbot added a comment to T334325: Special:LargeCategories - Create special page to list categories with many members.

There is Special:MostLinkedCategories for categories with the most pages and there is Special:MostCategories for pages with the most categories.

Apr 8 2023, 9:59 PM · MediaWiki-Special-pages
binbot added a comment to T334325: Special:LargeCategories - Create special page to list categories with many members.

It's good for maintanence, looking for categories that are subject to subcat them.

@binbot: What would be a real-world example why you'd have to (!) "subcat" a category? Which actual underlying real-world problem would this solve?

Apr 8 2023, 12:16 PM · MediaWiki-Special-pages
binbot created T334325: Special:LargeCategories - Create special page to list categories with many members.
Apr 8 2023, 10:55 AM · MediaWiki-Special-pages

Apr 7 2023

binbot closed T334301: Page.change_category capitalizes words as Invalid.

Oh, sorry, my fault.

Apr 7 2023, 7:11 PM · Pywikibot
binbot created T334301: Page.change_category capitalizes words.
Apr 7 2023, 5:52 PM · Pywikibot
binbot added a comment to T334299: Enhance PetScanPageGenerator with depth.

I tried, it is very easy. __init__() and buildQuery() has to be modified.

Apr 7 2023, 5:12 PM · Pywikibot, Pywikibot-pagegenerators.py
binbot updated the task description for T334299: Enhance PetScanPageGenerator with depth.
Apr 7 2023, 5:08 PM · Pywikibot, Pywikibot-pagegenerators.py
binbot created T334299: Enhance PetScanPageGenerator with depth.
Apr 7 2023, 5:07 PM · Pywikibot, Pywikibot-pagegenerators.py

Apr 2 2023

binbot added a comment to T333762: Properties should have link to source code in documentation.

Thanks! This one is quite new from yesterday, a good find! Then we can hope i will be solved.

Apr 2 2023, 9:10 PM · Upstream, Pywikibot-Documentation, Pywikibot
binbot triaged T333762: Properties should have link to source code in documentation as Low priority.
Apr 2 2023, 11:57 AM · Upstream, Pywikibot-Documentation, Pywikibot
binbot created T333762: Properties should have link to source code in documentation.
Apr 2 2023, 11:57 AM · Upstream, Pywikibot-Documentation, Pywikibot

Apr 1 2023

binbot added a comment to T57081: Implement support for Flagged Revisions in Pywikibot.

First you should find out, what are the API queries to get these lists and if Pywikibot can handle them or not. I don't think any part of Flagged Revisions is supported by Pywikibot now, but perhaps some may be supported already by coincidence?

Apr 1 2023, 6:28 PM · Hungarian-Sites, User-Tgr, MediaWiki-extensions-FlaggedRevs, Pywikibot
binbot updated subscribers of T57081: Implement support for Flagged Revisions in Pywikibot.

I did some coding.
https://hu.wikipedia.org/wiki/Szerkeszt%C5%91:BinBot/huwiki/flaggedrevs.py is a module for handling FlaggedRevs in Hungarian Wikipedia
Features for end users:
flagged_state(): returns a state code (see class Flags) for a page.
cosmeticable(): tells if a page is suitable for cosmetic changes
CosmeticableFilterPageGenerator(): a wrapper page generator that filters cosmeticable pages. It has two variations: either it handles pages one by one, or takes all the pages from the inner generator, and quries them from API en masse. Perhaps this may be faster.

Apr 1 2023, 5:34 PM · Hungarian-Sites, User-Tgr, MediaWiki-extensions-FlaggedRevs, Pywikibot
binbot added a project to T333748: problem with pagefromfile script (pywikibot: Pywikibot-Scripts.
Apr 1 2023, 1:23 PM · Pywikibot-Scripts, Pywikibot
binbot added a project to T333749: add-text pywikibot script misinterprets links as interwiki: Pywikibot-Scripts.
Apr 1 2023, 1:21 PM · Pywikibot-textlib.py, Pywikibot

Mar 29 2023

binbot closed T328769: Enhance Pywikibot.Page with is_person method as Declined.

OK then, I leave the framework and implement it in my own scripts.

Mar 29 2023, 11:01 AM · Pywikibot

Mar 28 2023

binbot added a comment to T328769: Enhance Pywikibot.Page with is_person method.

Yes, if we cannot agree in a good soulution, I will develop a huwiki-specific module. I just thought this feature would be useful throughout Wikipedia, but I don't insist on it.

Mar 28 2023, 3:27 PM · Pywikibot
binbot added a comment to T328769: Enhance Pywikibot.Page with is_person method.

Should we create then a derived WikipediaPage class? I don't really like the idea, but later it could have other wikispecific methods. This would explicitely dedicated to this project, and whoever calls it in a bad project, can blaim him/herself.

Mar 28 2023, 2:44 PM · Pywikibot

Mar 27 2023

binbot added a comment to T333083: Requesting Draft namespace for hu.wikipedia.

It works. Thank you!

Mar 27 2023, 3:09 PM · Wikimedia-Site-requests, Hungarian-Sites
binbot added a comment to T328769: Enhance Pywikibot.Page with is_person method.

This is too Wikimedia-specific (or even Wikipedia-specific). I'd prefer having this as a utility function or application logic rather than making it part of the model.

I think I am not quite worng if I suppose that Pywikibot is used on Wikipedia in vast majority of cases (although I myself already used it elsewhere). I would not make this an ideological question. This is the best place of Page methods.

Mar 27 2023, 7:22 AM · Pywikibot

Mar 26 2023

binbot added a comment to T333083: Requesting Draft namespace for hu.wikipedia.

Hi @FoBe Do you want also to disable manual indexing (so __(NO)INDEX__ doesn't work)?

Mar 26 2023, 12:42 PM · Wikimedia-Site-requests, Hungarian-Sites

Mar 23 2023

binbot updated the task description for T332924: BasePage.delete() should raise NoPageError if page does not exist.
Mar 23 2023, 6:27 PM · Pywikibot
binbot created T332924: BasePage.delete() should raise NoPageError if page does not exist.
Mar 23 2023, 6:25 PM · Pywikibot

Mar 22 2023

binbot added a comment to T331720: pywikibot does not respond to my calls.

Try to use global options right after pwb.py, before the script name. What happens?

Mar 22 2023, 6:57 PM · Pywikibot

Mar 8 2023

binbot updated the task description for T331422: Resolve conflict between code and docs in BasePage.getDeletedRevision.
Mar 8 2023, 5:43 PM · Pywikibot

Mar 7 2023

binbot added a comment to T330855: Create Pywikibot cookbook.

Most of it went live at https://www.mediawiki.org/wiki/Manual:Pywikibot/Cookbook.
Remaining part is being prepared on my above user page.

Mar 7 2023, 3:58 PM · Pywikibot-Documentation, Pywikibot
binbot updated the task description for T330855: Create Pywikibot cookbook.
Mar 7 2023, 3:57 PM · Pywikibot-Documentation, Pywikibot
binbot added a subtask for T330855: Create Pywikibot cookbook: T331422: Resolve conflict between code and docs in BasePage.getDeletedRevision.
Mar 7 2023, 2:11 PM · Pywikibot-Documentation, Pywikibot
binbot added a parent task for T331422: Resolve conflict between code and docs in BasePage.getDeletedRevision: T330855: Create Pywikibot cookbook.
Mar 7 2023, 2:11 PM · Pywikibot
binbot updated the task description for T331422: Resolve conflict between code and docs in BasePage.getDeletedRevision.
Mar 7 2023, 2:06 PM · Pywikibot
binbot created T331422: Resolve conflict between code and docs in BasePage.getDeletedRevision.
Mar 7 2023, 2:04 PM · Pywikibot

Mar 6 2023

binbot added a comment to T331266: Tests: Ensure that RequireLoginMixin is in mro prior than NeedRightsMixin.

@Xqt, I was asked to review, but I cannot run tests properly because of the submodule update problem, and I don't know a test case for this, just subscribed to follow.

Mar 6 2023, 1:21 PM · Pywikibot-tests, Pywikibot

Mar 5 2023

binbot added a comment to T330980: Page.get(force=True) and Page.save() does not refresh page data.

When a page is deleted by another process (e.g. a human) after getting the page for the first time, page.exists() will not get noticed by any method.
I think when I use page.get(force=True) and it finds a NoPageError, page.pageid should be set to 0 to notify other methods about the change.

Mar 5 2023, 9:21 PM · Pywikibot
binbot added a comment to T330980: Page.get(force=True) and Page.save() does not refresh page data.

Sorry, but the first problem with deletion still exists. page.exists() only notices the deletion if I recreate the Page object.

Mar 5 2023, 8:45 PM · Pywikibot
binbot reopened T330980: Page.get(force=True) and Page.save() does not refresh page data, a subtask of T330855: Create Pywikibot cookbook, as Open.
Mar 5 2023, 8:43 PM · Pywikibot-Documentation, Pywikibot
binbot reopened T330980: Page.get(force=True) and Page.save() does not refresh page data as "Open".
Mar 5 2023, 8:43 PM · Pywikibot
binbot updated the task description for T330839: Improve APISite.watch() and Page.watch().
Mar 5 2023, 5:00 PM · Pywikibot
binbot updated the task description for T330806: Site.watched_pages() should yield content pages.
Mar 5 2023, 4:58 PM · Pywikibot
binbot updated the task description for T330980: Page.get(force=True) and Page.save() does not refresh page data.
Mar 5 2023, 4:55 PM · Pywikibot

Mar 4 2023

binbot updated the task description for T331203: Pywikibot.toolforge.org should mark the stable version number.
Mar 4 2023, 6:58 PM · Pywikibot
binbot created T331203: Pywikibot.toolforge.org should mark the stable version number.
Mar 4 2023, 6:57 PM · Pywikibot

Mar 2 2023

binbot added a comment to T331005: Ambigous namespace for hu:Vita:WP:AZ.
Mar 2 2023, 10:18 PM · Wikimedia-database-issue (Bad data), MediaWiki-Watchlist, Growth-Team, MediaWiki-General
binbot added a comment to T331005: Ambigous namespace for hu:Vita:WP:AZ.

This is Hungarian Wikipedia.

Mar 2 2023, 9:10 PM · Wikimedia-database-issue (Bad data), MediaWiki-Watchlist, Growth-Team, MediaWiki-General
binbot added a comment to T331005: Ambigous namespace for hu:Vita:WP:AZ.

This seems unrelated to generally configuring the MediaWiki software itself. Not sure which tag is best to add - trying DBA but please remove if I am wrong!

Mar 2 2023, 6:48 PM · Wikimedia-database-issue (Bad data), MediaWiki-Watchlist, Growth-Team, MediaWiki-General
binbot updated subscribers of T326779: Pywikibot can have a status which is neither logged in nor logged out.

I'm getting the same "No user is logged in" warning, but an explicit login doesn't help. Regular edits are saved as the correct username, but currently I cannot use patrol.py:

ERROR: User "None" does not have required user right "patrol" (UserRightsError)
Mar 2 2023, 5:13 PM · Pywikibot-tests, Pywikibot
binbot added a comment to T330488: Logged in hiddenly.

Same as T326779?

Mar 2 2023, 5:09 PM · Pywikibot
binbot updated the task description for T331005: Ambigous namespace for hu:Vita:WP:AZ.
Mar 2 2023, 12:57 PM · Wikimedia-database-issue (Bad data), MediaWiki-Watchlist, Growth-Team, MediaWiki-General
binbot updated the task description for T331005: Ambigous namespace for hu:Vita:WP:AZ.
Mar 2 2023, 12:53 PM · Wikimedia-database-issue (Bad data), MediaWiki-Watchlist, Growth-Team, MediaWiki-General
binbot created T331005: Ambigous namespace for hu:Vita:WP:AZ.
Mar 2 2023, 12:50 PM · Wikimedia-database-issue (Bad data), MediaWiki-Watchlist, Growth-Team, MediaWiki-General
binbot added a comment to T330855: Create Pywikibot cookbook.

Bugs and requests filed during and in accordance with the project:
T330488
T330786
T330799
T330806
T330839
T330980
T331005
T331422

Mar 2 2023, 9:09 AM · Pywikibot-Documentation, Pywikibot
binbot updated the task description for T330980: Page.get(force=True) and Page.save() does not refresh page data.
Mar 2 2023, 8:46 AM · Pywikibot
binbot updated the task description for T330980: Page.get(force=True) and Page.save() does not refresh page data.
Mar 2 2023, 8:41 AM · Pywikibot
binbot updated the task description for T330980: Page.get(force=True) and Page.save() does not refresh page data.
Mar 2 2023, 8:40 AM · Pywikibot
binbot updated the task description for T330980: Page.get(force=True) and Page.save() does not refresh page data.
Mar 2 2023, 8:39 AM · Pywikibot
binbot updated the task description for T330980: Page.get(force=True) and Page.save() does not refresh page data.
Mar 2 2023, 8:37 AM · Pywikibot
binbot created T330980: Page.get(force=True) and Page.save() does not refresh page data.
Mar 2 2023, 8:36 AM · Pywikibot

Mar 1 2023

binbot updated the task description for T330855: Create Pywikibot cookbook.
Mar 1 2023, 11:27 AM · Pywikibot-Documentation, Pywikibot
binbot changed the status of T330855: Create Pywikibot cookbook from Open to In Progress.
Mar 1 2023, 11:26 AM · Pywikibot-Documentation, Pywikibot
binbot created T330855: Create Pywikibot cookbook.
Mar 1 2023, 11:26 AM · Pywikibot-Documentation, Pywikibot
binbot awarded T327285: Create on-wiki content based on the How to run a basic script via Pywikibot workshop a Love token.
Mar 1 2023, 11:14 AM · Pywikibot-Documentation, Pywikibot, Documentation, Developer-Advocacy (Jan-Mar 2023)
binbot created T330839: Improve APISite.watch() and Page.watch().
Mar 1 2023, 9:19 AM · Pywikibot

Feb 28 2023

binbot triaged T330806: Site.watched_pages() should yield content pages as Low priority.
Feb 28 2023, 11:30 PM · Pywikibot
binbot created T330806: Site.watched_pages() should yield content pages.
Feb 28 2023, 11:29 PM · Pywikibot
binbot triaged T330799: Correct documentation of site.watched_pages() as Low priority.
Feb 28 2023, 10:07 PM · good first task, Pywikibot, Pywikibot-Documentation
binbot created T330799: Correct documentation of site.watched_pages().
Feb 28 2023, 10:06 PM · good first task, Pywikibot, Pywikibot-Documentation
binbot triaged T330786: Handle InvalidTitleError in Page.text property as Low priority.
Feb 28 2023, 7:29 PM · Pywikibot
binbot created T330786: Handle InvalidTitleError in Page.text property.
Feb 28 2023, 7:20 PM · Pywikibot
binbot added a comment to T330488: Logged in hiddenly.
Feb 28 2023, 3:36 PM · Pywikibot

Feb 24 2023

binbot added a comment to T330488: Logged in hiddenly.

Contents of the script:

Feb 24 2023, 10:16 AM · Pywikibot
binbot added a comment to T330488: Logged in hiddenly.

OK, even more strange. I deleted EVERY *.lwp (not just pywikibot.lwp that was written.) Now this happens:

Feb 24 2023, 10:13 AM · Pywikibot
binbot created T330488: Logged in hiddenly.
Feb 24 2023, 9:39 AM · Pywikibot

Feb 18 2023

binbot added a comment to T329714: bash: pwb.py: command not found.

@Leonprimer, please keep in mind that all these projects are maintained by volunteers like you. Nobody is obliged to solve your problem within ten minutes. The problem is clearly detected, Sometimes the solution is not two minutes and sometimes the task waits for another task that has to be solved. Creating so many duplicates with more and more exclamation marks is by no means a good faith usage of Phabricator and the volunteers' energies and time. You were already asked to stop it, and further creations may result in a block.

Feb 18 2023, 7:43 AM · PAWS

Feb 17 2023

binbot added a comment to T329948: replace.py doesn't work.

Please don't post the same bug repeatedly.

Feb 17 2023, 3:59 PM · PAWS

Feb 16 2023

binbot added a watcher for Pywikibot-tests: binbot.
Feb 16 2023, 5:17 PM
binbot added a comment to T329452: 500 server error when pulling Pywikibot i18n.

One more strange thing: when I unpack the Pywikibot zip version, c:\Pywikibot\scripts\i18n\.git is a subdirectory.
When I pull it from git, the same name belongs to a file, containing "gitdir: ../../.git/modules/i18n". Is it the normal behaviour?

Feb 16 2023, 2:04 PM · Pywikibot, Gerrit

Feb 15 2023

binbot added a comment to T329452: 500 server error when pulling Pywikibot i18n.

Thank you! :-(

Feb 15 2023, 6:53 PM · Pywikibot, Gerrit
binbot added a comment to T329452: 500 server error when pulling Pywikibot i18n.

None of us can reproduce, you've attempted other networks, and your Git config seems reasonable. Perhaps this might be an OS-level issue. Do you have any other (non-vm) computers/OSes that you can try?

Feb 15 2023, 6:35 PM · Pywikibot, Gerrit
binbot added a comment to T329452: 500 server error when pulling Pywikibot i18n.

Does this error also occur if you clone mirror repos ( https://github.com/wikimedia/pywikibot.git and https://github.com/wikimedia/pywikibot-i18n.git )?

Feb 15 2023, 2:03 PM · Pywikibot, Gerrit
binbot added a comment to T329452: 500 server error when pulling Pywikibot i18n.

Google my friend told me that RPC error may be connected to firewall, so I temporarily suspended my firewall. That did not help either.

Feb 15 2023, 9:45 AM · Pywikibot, Gerrit
binbot added a member for Pywikibot-solve-disambiguation.py: binbot.
Feb 15 2023, 8:35 AM

Feb 14 2023

binbot added a comment to T329452: 500 server error when pulling Pywikibot i18n.
  1. This is very strange, it installed the Pywikibot itself to a directory called i18n rather than core, with two differences: there is no .git in scripts\i18n subdirectory and it did not write the registration of i18n.
Feb 14 2023, 10:35 PM · Pywikibot, Gerrit
binbot added a comment to T329452: 500 server error when pulling Pywikibot i18n.

I installed TortoiseGit, the same result.

Feb 14 2023, 9:54 PM · Pywikibot, Gerrit
binbot added a comment to T329452: 500 server error when pulling Pywikibot i18n.

Well, I was going for a more basic approach; My thought was that perhaps there was something odd with the client network (firewall, etc.) So I was thinking of testing other networks like phone tethering or a local library.

Feb 14 2023, 9:15 PM · Pywikibot, Gerrit
binbot added a comment to T329452: 500 server error when pulling Pywikibot i18n.

I am wondering if you would mind deleting the local repo dir and git clone from scratch like we did, then run the "git submodule update' and see if the probem goes away.

Feb 14 2023, 5:21 PM · Pywikibot, Gerrit
binbot added a comment to T329452: 500 server error when pulling Pywikibot i18n.
Feb 14 2023, 4:53 PM · Pywikibot, Gerrit
binbot updated binbot.
Feb 14 2023, 11:50 AM
binbot updated binbot.
Feb 14 2023, 11:50 AM
binbot added a comment to T329452: 500 server error when pulling Pywikibot i18n.

Have you tried running --verbose to see if this gives you more specific information?

Feb 14 2023, 11:35 AM · Pywikibot, Gerrit