[Pywikipedia-bugs] [Maniphest] [Commented On] T135359: User.isAnonymous() gives wrong result for IP ranges

2024-04-12 Thread binbot
binbot added a comment. My 2 cents: Pywikibot does not have the mission to correct ambigiousness of MediaWiki. u.isAnonymous() should first examine isinstance(u, pywikibot.User). If it is instantiated as Page, it should act as Page. If it is instantiated as User, we should check

[Pywikipedia-bugs] [Maniphest] [Updated] T57081: Implement support for Flagged Revisions in Pywikibot

2023-04-24 Thread binbot
binbot added a project: Hungarian-Sites. TASK DETAIL https://phabricator.wikimedia.org/T57081 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Dalba, binbot, Huji, JJMC89, Zache, Ejs-80, Xqt, xSavitar, Jwu96, AbhishekSinghDhadwal

[Pywikipedia-bugs] [Maniphest] [Commented On] T334381: commands.log and terminal-interface-bot.log is written despite -nolog

2023-04-10 Thread binbot
binbot added a comment. In T334381#8768526 <https://phabricator.wikimedia.org/T334381#8768526>, @Xqt wrote: > https://gerrit.wikimedia.org/r/907494 Now it works. But if I omit -nolog, `wrapper-bot.log` is written instead of `commands.log`. I don't see the source of th

[Pywikipedia-bugs] [Maniphest] [Created] T334381: commands.log and terminal-interface-bot.log is written despite -nolog

2023-04-10 Thread binbot
binbot created this task. binbot added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): python pwb.py -nolog any_script **What happens?**: commands.log

[Pywikipedia-bugs] [Maniphest] [Closed] T334301: Page.change_category capitalizes words

2023-04-07 Thread binbot
binbot closed this task as "Invalid". binbot added a comment. Oh, sorry, my fault. TASK DETAIL https://phabricator.wikimedia.org/T334301 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Xqt, Aklapper, pywikibot-bugs-li

[Pywikipedia-bugs] [Maniphest] [Created] T334301: Page.change_category capitalizes words

2023-04-07 Thread binbot
binbot created this task. binbot added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue**: >>> import pywikibot as p >>> site = p.Site() >>> page

[Pywikipedia-bugs] [Maniphest] [Commented On] T334299: Enhance PetScanPageGenerator with depth

2023-04-07 Thread binbot
binbot added a comment. I tried, it is very easy. `__init__() `and `buildQuery() `has to be modified. From line 1153 in _generators.py I added one line: query = { 'language': self.site.code, 'project': self.site.hostname().split('.')[-2

[Pywikipedia-bugs] [Maniphest] [Edited] T334299: Enhance PetScanPageGenerator with depth

2023-04-07 Thread binbot
binbot updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T334299 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Aklapper, pywikibot-bugs-list, binbot, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra

[Pywikipedia-bugs] [Maniphest] [Created] T334299: Enhance PetScanPageGenerator with depth

2023-04-07 Thread binbot
binbot created this task. binbot added projects: Pywikibot-pagegenerators.py, Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Feature summary** (what you would like to be able to do and where): PetScan offers the depth field

[Pywikipedia-bugs] [Maniphest] [Commented On] T333762: Properties should have link to source code in documentation

2023-04-02 Thread binbot
binbot added a comment. In T333762#8748891 <https://phabricator.wikimedia.org/T333762#8748891>, @Xqt wrote: > I guess this is related to https://github.com/sphinx-doc/sphinx/issues/11279 Thanks! This one is quite new from yesterday, a good find! Then we can hope i will

[Pywikipedia-bugs] [Maniphest] [Triaged] T333762: Properties should have link to source code in documentation

2023-04-02 Thread binbot
binbot triaged this task as "Low" priority. TASK DETAIL https://phabricator.wikimedia.org/T333762 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Aklapper, pywikibot-bugs-list, binbot, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH

[Pywikipedia-bugs] [Maniphest] [Created] T333762: Properties should have link to source code in documentation

2023-04-02 Thread binbot
binbot created this task. binbot added projects: Pywikibot, Pywikibot-Documentation. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue**: Click https://doc.wikimedia.org/pywikibot/stable/api_ref/pywikibot.page.html

[Pywikipedia-bugs] [Maniphest] [Commented On] T57081: Implement support for Flagged Revisions in Pywikibot

2023-04-01 Thread binbot
binbot added a comment. In T57081#5090619 <https://phabricator.wikimedia.org/T57081#5090619>, @Dvorapa wrote: > 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

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T57081: Implement support for Flagged Revisions in Pywikibot

2023-04-01 Thread binbot
binbot added a subscriber: Dalba. binbot added a comment. 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

[Pywikipedia-bugs] [Maniphest] [Updated] T333748: problem with pagefromfile script (pywikibot

2023-04-01 Thread binbot
binbot added a project: Pywikibot-Scripts. binbot updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T333748 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Aklapper, pywikibot-bugs-list, Draco_flavus, PotsdamLamb

[Pywikipedia-bugs] [Maniphest] [Updated] T333749: add-text pywikibot script misinterprets links as interwiki

2023-04-01 Thread binbot
binbot added a project: Pywikibot-Scripts. TASK DETAIL https://phabricator.wikimedia.org/T333749 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Aklapper, pywikibot-bugs-list, Draco_flavus, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH

[Pywikipedia-bugs] [Maniphest] [Declined] T328769: Enhance Pywikibot.Page with is_person method

2023-03-29 Thread binbot
binbot closed this task as "Declined". binbot added a comment. OK then, I leave the framework and implement it in my own scripts. TASK DETAIL https://phabricator.wikimedia.org/T328769 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To:

[Pywikipedia-bugs] [Maniphest] [Commented On] T328769: Enhance Pywikibot.Page with is_person method

2023-03-28 Thread binbot
binbot added a comment. 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. TASK DETAIL https://phabricator.wikimedia.org/T328769 EMAIL PREFERENCES https

[Pywikipedia-bugs] [Maniphest] [Commented On] T328769: Enhance Pywikibot.Page with is_person method

2023-03-28 Thread binbot
binbot added a comment. 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. TASK DETAIL https

[Pywikipedia-bugs] [Maniphest] [Commented On] T328769: Enhance Pywikibot.Page with is_person method

2023-03-27 Thread binbot
binbot added a comment. In T328769#8724653 <https://phabricator.wikimedia.org/T328769#8724653>, @matej_suchanek wrote: > This is too Wikimedia-specific (or even Wikipedia-specific). I'd prefer having this as a utility function or application logic rather than making

[Pywikipedia-bugs] [Maniphest] [Edited] T332924: BasePage.delete() should raise NoPageError if page does not exist

2023-03-23 Thread binbot
binbot updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T332924 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Aklapper, pywikibot-bugs-list, binbot, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra

[Pywikipedia-bugs] [Maniphest] [Created] T332924: BasePage.delete() should raise NoPageError if page does not exist

2023-03-23 Thread binbot
binbot created this task. binbot added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue**): - page = pywikibot.Page(site, 'REDTITLE') - page.delete() **What happens?**: WARNING: API

[Pywikipedia-bugs] [Maniphest] [Commented On] T331720: pywikibot does not respond to my calls

2023-03-22 Thread binbot
binbot added a comment. Try to use global options right after pwb.py, before the script name. What happens? TASK DETAIL https://phabricator.wikimedia.org/T331720 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: binbot, TheresNoTime

[Pywikipedia-bugs] [Maniphest] [Edited] T331422: Resolve conflict between code and docs in BasePage.getDeletedRevision

2023-03-09 Thread binbot
binbot updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T331422 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, binbot Cc: Aklapper, pywikibot-bugs-list, binbot, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra

[Pywikipedia-bugs] [Maniphest] [Edited] T330855: Create Pywikibot cookbook

2023-03-09 Thread binbot
binbot updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T330855 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: KBach, Aklapper, pywikibot-bugs-list, binbot, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra

[Pywikipedia-bugs] [Maniphest] [Commented On] T330855: Create Pywikibot cookbook

2023-03-09 Thread binbot
binbot added a comment. Most of it went live at https://www.mediawiki.org/wiki/Manual:Pywikibot/Cookbook. Remaining part is being prepared on my above user page. TASK DETAIL https://phabricator.wikimedia.org/T330855 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel

[Pywikipedia-bugs] [Maniphest] [Updated] T330855: Create Pywikibot cookbook

2023-03-07 Thread binbot
binbot added a subtask: T331422: Resolve conflict between code and docs in BasePage.getDeletedRevision. TASK DETAIL https://phabricator.wikimedia.org/T330855 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: KBach, Aklapper, pywikibot-bugs

[Pywikipedia-bugs] [Maniphest] [Updated] T331422: Resolve conflict between code and docs in BasePage.getDeletedRevision

2023-03-07 Thread binbot
binbot added a parent task: T330855: Create Pywikibot cookbook. TASK DETAIL https://phabricator.wikimedia.org/T331422 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Aklapper, pywikibot-bugs-list, binbot, PotsdamLamb, Jyoo1011

[Pywikipedia-bugs] [Maniphest] [Edited] T331422: Resolve conflict between code and docs in BasePage.getDeletedRevision

2023-03-07 Thread binbot
binbot updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T331422 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Aklapper, pywikibot-bugs-list, binbot, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra

[Pywikipedia-bugs] [Maniphest] [Created] T331422: Resolve conflict between code and docs in BasePage.getDeletedRevision

2023-03-07 Thread binbot
binbot created this task. binbot added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (ineeds admin rights, try on a wiki where you are admin): import pywikibot site = pywikibot.Site

[Pywikipedia-bugs] [Maniphest] [Commented On] T331266: Tests: Ensure that RequireLoginMixin is in mro prior than NeedRightsMixin

2023-03-06 Thread binbot
binbot added a comment. @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. TASK DETAIL https://phabricator.wikimedia.org/T331266 EMAIL PREFERENCES https

[Pywikipedia-bugs] [Maniphest] [Commented On] T330980: Page.get(force=True) and Page.save() does not refresh page data

2023-03-05 Thread binbot
binbot added a comment. 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 thing when I use `page.get(force=True)` and it finds a `NoPageError`, `page.pageid` should be set to 0 to notify

[Pywikipedia-bugs] [Maniphest] [Commented On] T330980: Page.get(force=True) and Page.save() does not refresh page data

2023-03-05 Thread binbot
binbot added a comment. Sorry, but the first problem with deletion still exists. `page.exists() `only notices the deletion if I recreate the Page object. TASK DETAIL https://phabricator.wikimedia.org/T330980 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel

[Pywikipedia-bugs] [Maniphest] [Block] T330855: Create Pywikibot cookbook

2023-03-05 Thread binbot
binbot reopened subtask T330980: Page.get(force=True) and Page.save() does not refresh page data as Open. TASK DETAIL https://phabricator.wikimedia.org/T330855 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: KBach, Aklapper, pywikibot

[Pywikipedia-bugs] [Maniphest] [Reopened] T330980: Page.get(force=True) and Page.save() does not refresh page data

2023-03-05 Thread binbot
binbot reopened this task as "Open". TASK DETAIL https://phabricator.wikimedia.org/T330980 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, binbot Cc: Aklapper, pywikibot-bugs-list, binbot, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH

[Pywikipedia-bugs] [Maniphest] [Edited] T330839: Improve APISite.watch() and Page.watch()

2023-03-05 Thread binbot
binbot updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T330839 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Aklapper, pywikibot-bugs-list, binbot, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra

[Pywikipedia-bugs] [Maniphest] [Edited] T330806: Site.watched_pages() should yield content pages

2023-03-05 Thread binbot
binbot updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T330806 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Aklapper, pywikibot-bugs-list, binbot, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra

[Pywikipedia-bugs] [Maniphest] [Edited] T330980: Page.get(force=True) and Page.save() does not refresh page data

2023-03-05 Thread binbot
binbot updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T330980 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, binbot Cc: Aklapper, pywikibot-bugs-list, binbot, Themindcoder, Adamm71, Jersione, Hellket777

[Pywikipedia-bugs] [Maniphest] [Edited] T331203: Pywikibot.toolforge.org should mark the stable version number

2023-03-04 Thread binbot
binbot updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T331203 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Aklapper, pywikibot-bugs-list, binbot, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra

[Pywikipedia-bugs] [Maniphest] [Created] T331203: Pywikibot.toolforge.org should mark the stable version number

2023-03-04 Thread binbot
binbot created this task. binbot added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Feature summary** (what you would like to be able to do and where): https://pywikibot.toolforge.org/ does not mark either the date

[Pywikipedia-bugs] [Maniphest] [Updated] T326779: Pywikibot can have a status which is neither logged in nor logged out

2023-03-02 Thread binbot
binbot added subscribers: Dalba, binbot. binbot added a comment. In T326779#8552577 <https://phabricator.wikimedia.org/T326779#8552577>, @Bdijkstra wrote: > I'm getting the same "No user is logged in" warning, but an explicit login doesn't help. Regular edits are s

[Pywikipedia-bugs] [Maniphest] [Updated] T330488: Logged in hiddenly

2023-03-02 Thread binbot
binbot added a comment. Same as T326779 <https://phabricator.wikimedia.org/T326779>? TASK DETAIL https://phabricator.wikimedia.org/T330488 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Dalba, Aklapper, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Updated] T330855: Create Pywikibot cookbook

2023-03-02 Thread binbot
binbot added a comment. Bugs and requests filed during and in accordance with the project: T330488 <https://phabricator.wikimedia.org/T330488> T330786 <https://phabricator.wikimedia.org/T330786> T330799 <https://phabricator.wikimedia.org/T330799>

[Pywikipedia-bugs] [Maniphest] [Edited] T330980: Page.get(force=True) and Page.save() does not refresh page data

2023-03-02 Thread binbot
binbot updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T330980 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Aklapper, pywikibot-bugs-list, binbot, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra

[Pywikipedia-bugs] [Maniphest] [Edited] T330980: Page.get(force=True) and Page.save() does not refresh page data

2023-03-02 Thread binbot
binbot updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T330980 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Aklapper, pywikibot-bugs-list, binbot, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra

[Pywikipedia-bugs] [Maniphest] [Edited] T330980: Page.get(force=True) and Page.save() does not refresh page data

2023-03-02 Thread binbot
binbot updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T330980 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Aklapper, pywikibot-bugs-list, binbot, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra

[Pywikipedia-bugs] [Maniphest] [Edited] T330980: Page.get(force=True) and Page.save() does not refresh page data

2023-03-02 Thread binbot
binbot updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T330980 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Aklapper, pywikibot-bugs-list, binbot, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra

[Pywikipedia-bugs] [Maniphest] [Edited] T330980: Page.get(force=True) and Page.save() does not refresh page data

2023-03-02 Thread binbot
binbot updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T330980 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Aklapper, pywikibot-bugs-list, binbot, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra

[Pywikipedia-bugs] [Maniphest] [Created] T330980: Page.get(force=True) and Page.save() does not refresh page data

2023-03-02 Thread binbot
binbot created this task. binbot added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION I file here two bugs because they are closely connected. The whole process of handling the data should be revised. Involved methods are at lest

[Pywikipedia-bugs] [Maniphest] [Edited] T330855: Create Pywikibot cookbook

2023-03-01 Thread binbot
binbot updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T330855 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Aklapper, pywikibot-bugs-list, binbot, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra

[Pywikipedia-bugs] [Maniphest] [Started] T330855: Create Pywikibot cookbook

2023-03-01 Thread binbot
binbot changed the task status from "Open" to "In Progress". binbot triaged this task as "Medium" priority. TASK DETAIL https://phabricator.wikimedia.org/T330855 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc:

[Pywikipedia-bugs] [Maniphest] [Created] T330855: Create Pywikibot cookbook

2023-03-01 Thread binbot
binbot created this task. binbot added projects: Pywikibot, Pywikibot-Documentation. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION - https://www.mediawiki.org/wiki/User:Bin%C3%A1ris/Pywikibot_cookbook Besides the manual and the documentation

[Pywikipedia-bugs] [Maniphest] [Created] T330839: Improve APISite.watch() and Page.watch()

2023-03-01 Thread binbot
binbot created this task. binbot added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Feature summary**: https://www.mediawiki.org/wiki/API:Watch says that expiry of a watchlist item may be set, and plenty of builtin

[Pywikipedia-bugs] [Maniphest] [Triaged] T330806: Site.watched_pages() should yield content pages

2023-02-28 Thread binbot
binbot triaged this task as "Low" priority. binbot updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T330806 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Aklapper, pywikibot-bugs-list, binbot, P

[Pywikipedia-bugs] [Maniphest] [Created] T330806: Site.watched_pages() should yield content pages

2023-02-28 Thread binbot
binbot created this task. binbot added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Feature summary** (what you would like to be able to do and where): `Site.watched_pages()` yileds both content and talk pages which

[Pywikipedia-bugs] [Maniphest] [Triaged] T330799: Correct documentation of site.watched_pages()

2023-02-28 Thread binbot
binbot triaged this task as "Low" priority. TASK DETAIL https://phabricator.wikimedia.org/T330799 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Aklapper, pywikibot-bugs-list, binbot, U

[Pywikipedia-bugs] [Maniphest] [Created] T330799: Correct documentation of site.watched_pages()

2023-02-28 Thread binbot
binbot created this task. binbot added a project: Pywikibot-Documentation. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION - https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.site.html#pywikibot.site._generators.GeneratorsMixin.watched_pages

[Pywikipedia-bugs] [Maniphest] [Triaged] T330786: Handle InvalidTitleError in Page.text property

2023-02-28 Thread binbot
binbot triaged this task as "Low" priority. TASK DETAIL https://phabricator.wikimedia.org/T330786 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Xqt, Aklapper, pywikibot-bugs-list, binbot, PotsdamLamb, Jyoo1011, JohnsonLe

[Pywikipedia-bugs] [Maniphest] [Created] T330786: Handle InvalidTitleError in Page.text property

2023-02-28 Thread binbot
binbot created this task. binbot added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue**: >>> site = pywikibot.Site('hu', 'wikipedia') >>> page=pywikibot.Page

[Pywikipedia-bugs] [Maniphest] [Commented On] T330488: Logged in hiddenly

2023-02-28 Thread binbot
binbot added a comment. In T330488#8653038 <https://phabricator.wikimedia.org/T330488#8653038>, @Dalba wrote: > > site.login() # add this line, make sure username and password_file are defined in user-config.py Great, this works, thank you! So the problem i

[Pywikipedia-bugs] [Maniphest] [Commented On] T330488: Logged in hiddenly

2023-02-24 Thread binbot
binbot added a comment. Contents of the script: import pywikibot site = pywikibot.Site() print(len(list(site.watched_pages( TASK DETAIL https://phabricator.wikimedia.org/T330488 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences

[Pywikipedia-bugs] [Maniphest] [Commented On] T330488: Logged in hiddenly

2023-02-24 Thread binbot
binbot added a comment. OK, even more strange. I deleted EVERY *.lwp (not just pywikibot.lwp that was written.) Now this happens: c:\Pywikibot>python pwb.py -nolog login WARNING: No user is logged in on site wikipedia:hu Password for user BinBot on wikipedia:hu (no charact

[Pywikipedia-bugs] [Maniphest] [Created] T330488: Logged in hiddenly

2023-02-24 Thread binbot
binbot created this task. binbot added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION I can edit Wikipedia, but cannot retrieve wachlist. The bot seems to be logged in and not logged in like Schrödinger's cat at the same time

[Pywikipedia-bugs] [Maniphest] [Commented On] T329714: bash: pwb.py: command not found

2023-02-17 Thread binbot
binbot added a comment. @Leonprimer, please keep in mind that all these projects are mainained 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

[Pywikipedia-bugs] [Maniphest] [Commented On] T329948: replace.py doesn't work

2023-02-17 Thread binbot
binbot added a comment. Please don't post the same bug repeatedly. TASK DETAIL https://phabricator.wikimedia.org/T329948 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: binbot, pywikibot-bugs-list, Leonprimer, AshokChakra, 94rain

[Pywikipedia-bugs] [Maniphest] [Commented On] T329452: 500 server error when pulling Pywikibot i18n

2023-02-16 Thread binbot
binbot added a comment. One more strange thing: when I unpack the Pywikibot zip version, `c:\Pywikibot\scripts\i18n\.git` is a supdirectory. When I pull it from git, the same name belongs to a file, containing `"gitdir: ../../.git/modules/i18n"`. Is it the normal behaviour? T

[Pywikipedia-bugs] [Maniphest] [Commented On] T329452: 500 server error when pulling Pywikibot i18n

2023-02-15 Thread binbot
binbot added a comment. Thank you! :-( TASK DETAIL https://phabricator.wikimedia.org/T329452 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Dalba, Rubin, BCornwall, Dzahn, Nikerabbit, Aklapper, pywikibot-bugs-list, binbot

[Pywikipedia-bugs] [Maniphest] [Commented On] T329452: 500 server error when pulling Pywikibot i18n

2023-02-15 Thread binbot
binbot added a comment. In T329452#8619592 <https://phabricator.wikimedia.org/T329452#8619592>, @BCornwall wrote: > 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 othe

[Pywikipedia-bugs] [Maniphest] [Commented On] T329452: 500 server error when pulling Pywikibot i18n

2023-02-15 Thread binbot
binbot added a comment. In T329452#8618432 <https://phabricator.wikimedia.org/T329452#8618432>, @Dalba wrote: > Does this error also occur if you clone mirror repos ( https://github.com/wikimedia/pywikibot.git and https://github.com/wikimedia/pywikibot-i18n.git )? Unfo

[Pywikipedia-bugs] [Maniphest] [Commented On] T329452: 500 server error when pulling Pywikibot i18n

2023-02-15 Thread binbot
binbot added a comment. Google my friend told me that RPC error may be connected to firewall, so I temporarily suspended my firewall. That did not help either. TASK DETAIL https://phabricator.wikimedia.org/T329452 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel

[Pywikipedia-bugs] [Maniphest] [Commented On] T329452: 500 server error when pulling Pywikibot i18n

2023-02-14 Thread binbot
binbot added a comment. 1. This is very strange, it installed the Pywikibot itself to a directory calles i18n rather than core, with two differences: there is no .git in scripts\i18n subdirectory and it did not write the registration of i18n. c:\Pywikibot-dev>git clone --verb

[Pywikipedia-bugs] [Maniphest] [Commented On] T329452: 500 server error when pulling Pywikibot i18n

2023-02-14 Thread binbot
binbot added a comment. I installed TortoiseGit, the same result. TASK DETAIL https://phabricator.wikimedia.org/T329452 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: BCornwall, Dzahn, Samwalton9, Nikerabbit, Aklapper, pywikibot-bugs

[Pywikipedia-bugs] [Maniphest] [Commented On] T329452: 500 server error when pulling Pywikibot i18n

2023-02-14 Thread binbot
binbot added a comment. In T329452#8615931 <https://phabricator.wikimedia.org/T329452#8615931>, @BCornwall wrote: > 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 o

[Pywikipedia-bugs] [Maniphest] [Commented On] T329452: 500 server error when pulling Pywikibot i18n

2023-02-14 Thread binbot
binbot added a comment. In T329452#8615143 <https://phabricator.wikimedia.org/T329452#8615143>, @Dzahn wrote: > 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 pr

[Pywikipedia-bugs] [Maniphest] [Commented On] T329452: 500 server error when pulling Pywikibot i18n

2023-02-14 Thread binbot
binbot added a comment. In T329452#8614863 <https://phabricator.wikimedia.org/T329452#8614863>, @BCornwall wrote: > > Seeing as @binbot appears to be in central Europe, I figured it might be a location thing (since @dzahn and I are in the west coast US) bu

[Pywikipedia-bugs] [Maniphest] [Commented On] T329452: 500 server error when pulling Pywikibot i18n

2023-02-14 Thread binbot
binbot added a comment. In T329452#8613943 <https://phabricator.wikimedia.org/T329452#8613943>, @Samwalton9 wrote: > Have you tried running `--verbose` to see if this gives you more specific information? Whereever I write `--verbose`,in `"git submodule update"

[Pywikipedia-bugs] [Maniphest] [Commented On] T328769: Enhance Pywikibot.Page with is_person method

2023-02-13 Thread binbot
binbot added a comment. Thank you! Could you please add a docstring so that it appears in doc? TASK DETAIL https://phabricator.wikimedia.org/T328769 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Xqt, Aklapper, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Commented On] T329452: 500 server error when pulling Pywikibot i18n

2023-02-13 Thread binbot
binbot added a comment. Unfortunately git does not show, which server causes the error. Is a it different repo? TASK DETAIL https://phabricator.wikimedia.org/T329452 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Nikerabbit, Aklapper

[Pywikipedia-bugs] [Maniphest] [Created] T329452: 500 server error when pulling Pywikibot i18n

2023-02-12 Thread binbot
binbot created this task. binbot added projects: Gerrit, Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Since 6th February I get continuous errors. Step 1: c:\Pywikibot-dev>git clone --recursive --branch master --depth 3 ht

[Pywikipedia-bugs] [Maniphest] [Updated] T328900: Pywikibot logs despite -nolog

2023-02-12 Thread binbot
binbot added a comment. T98106 <https://phabricator.wikimedia.org/T98106> is related? TASK DETAIL https://phabricator.wikimedia.org/T328900 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Aklapper, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Commented On] T191901: archivebot should allow to specify a wiki-wide set of default values for the marker template

2023-02-11 Thread binbot
binbot added a comment. A vote for the second option. AFAIK json pages are protected by default, so vandalism is not a real threat. TASK DETAIL https://phabricator.wikimedia.org/T191901 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc

[Pywikipedia-bugs] [Maniphest] [Edited] T328900: Pywikibot logs despite -nolog

2023-02-06 Thread binbot
binbot updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T328900 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Aklapper, pywikibot-bugs-list, binbot, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra

[Pywikipedia-bugs] [Maniphest] [Created] T328900: Pywikibot logs despite -nolog

2023-02-06 Thread binbot
binbot created this task. binbot added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue**: - Decrease the space on your device :-) - Run pwb.py with -nolog **What happens?**: `c

[Pywikipedia-bugs] [Maniphest] [Created] T328769: Enhance Pywikibot.Page with is_person method

2023-02-03 Thread binbot
binbot created this task. binbot added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Feature summary**: Pywikibot.Page should have an is_person_wd() method to determine if the article is about a person. Return True

[Pywikipedia-bugs] [Maniphest] [Commented On] T325862: Rename pywikibot's "async" kwargs

2022-12-23 Thread binbot
binbot added a comment. Now you know. :-) My intro to Python programming was Pywikipedia. Shall we rename asyncio because of that? :-) TASK DETAIL https://phabricator.wikimedia.org/T325862 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot

[Pywikipedia-bugs] [Maniphest] [Commented On] T325862: Rename pywikibot's "async" kwargs

2022-12-23 Thread binbot
binbot added a comment. There are similar words and expressions in the world, that's how we llive. Both come fom asynchronous, for the same reason, and we have used async since the Pywikipedia times. "Implies" is a bit strong for "one might even thonk of". I do

[Pywikipedia-bugs] [Maniphest] [Commented On] T325473: Add support for Extension:PageViewInfo

2022-12-18 Thread binbot
binbot added a comment. The interesting thing is not the grph, but the underlying page view numbers. TASK DETAIL https://phabricator.wikimedia.org/T325473 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Aklapper, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Commented On] T101594: Test PWB on IronPython

2022-12-14 Thread binbot
binbot added a comment. A regex converter would be useful. The tools use different syntax for text replacement, thus regexes built for one don't work in the other. TASK DETAIL https://phabricator.wikimedia.org/T101594 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel

[Pywikipedia-bugs] [Maniphest] [Commented On] T148354: pagegenerators -limit option should be renamed to -total

2019-01-12 Thread binbot
binbot added a comment. Why do you think so? Limit is more familiar to people because of SQL use, and this is a similar role.TASK DETAILhttps://phabricator.wikimedia.org/T148354EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: binbotCc: binbot, valhallasw

[Pywikipedia-bugs] [Maniphest] [Commented On] T205205: Replace.py should handle OtherPageSaveError

2018-09-23 Thread binbot
binbot added a comment. After all, the renaming was correct. :-)TASK DETAILhttps://phabricator.wikimedia.org/T205205EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, binbotCc: Xqt, binbot, Dvorapa, Framawiki, pywikibot-bugs-list, Zoranzoki21, Aklapper

[Pywikipedia-bugs] [Maniphest] [Commented On] T205205: Replace.py should handle OtherPageSaveError

2018-09-23 Thread binbot
binbot added a comment. Now I see. Someone implemented this behaviour on purpose here: https://github.com/wikimedia/pywikibot/blob/master/pywikibot/page.py#L1272 But why?TASK DETAILhttps://phabricator.wikimedia.org/T205205EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel

[Pywikipedia-bugs] [Maniphest] [Commented On] T205205: Replace.py should handle OtherPageSaveError

2018-09-23 Thread binbot
binbot added a comment. I think this should alwqys remain in the scope of the script. Replace.py could show me the proposed change, then I, as a human editor may decide what to do. Suppressing spelling errors on the page is usually not the primary aim of using such templates. Also, I often use

[Pywikipedia-bugs] [Maniphest] [Updated] T205205: Replace.py should handle OtherPageSaveError

2018-09-23 Thread binbot
binbot added a project: Pywikibot-replace.py. TASK DETAILhttps://phabricator.wikimedia.org/T205205EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: binbotCc: binbot, Dvorapa, Framawiki, pywikibot-bugs-list, Zoranzoki21, Aklapper, Wenyi, Tbscho, MayS, Mdupont

[Pywikipedia-bugs] [Maniphest] [Commented On] T205205: Replace.py should handle OtherPageSaveError

2018-09-23 Thread binbot
binbot added a comment. In T205205#4608866, @Framawiki wrote: This page ]] according to the backlog provided. Site was not clear for me.TASK DETAILhttps://phabricator.wikimedia.org/T205205EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: binbotCc: binbot

[Pywikipedia-bugs] [Maniphest] [Updated] T134331: Using -titleregex for replace.py fails with family maintenance warning

2018-09-23 Thread binbot
binbot added a project: Pywikibot-replace.py. TASK DETAILhttps://phabricator.wikimedia.org/T134331EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: binbotCc: Aklapper, Zppix, pywikibot-bugs-list, Arjunaraoc, Wenyi, Tbscho, MayS, Mdupont, JJMC89, binbot

[Pywikipedia-bugs] [Maniphest] [Commented On] T205205: Replace.py should handle OtherPageSaveError

2018-09-23 Thread binbot
binbot added a comment. Pywkibot does check the templates, otherwise you wouldn't get this message. As far as I see, replace.py at line 819 does not handle exceptions at all, but I am not familiar with asynchronous save. Please provide the link of the page where the exception occured.TASK

[Pywikipedia-bugs] [Maniphest] [Retitled] T205205: Replace.py should handle OtherPageSaveError

2018-09-23 Thread binbot
binbot renamed this task from "Pywikibot should skip page when he can not edit page because of pywikibot.exceptions.OtherPageSaveError" to "Replace.py should handle OtherPageSaveError". TASK DETAILhttps://phabricator.wikimedia.org/T205205EMAIL PREFERENCEShttps://phabricator.wi

[Pywikipedia-bugs] [Maniphest] [Commented On] T72249: Ability to archive a section based on a template status, additional to age

2018-04-07 Thread binbot
binbot added a comment. Please consider that {{done}} or any similar template may have parameters (at least |) some delay may be neccessary and should be implemented (we don't want people to mark sections as done at 2:00 am and the bot to archive it at 3:00 am before anybody could have seen

[Pywikipedia-bugs] [Maniphest] [Commented On] T123885: Create a Python Pywikibot script to download Wikimedia database dump

2017-12-14 Thread binbot
binbot added a comment. I wote a related script. Unfortunately it is hardcoded for Hungarian Wikipedia and therefore it has a lot of Hungarian text (as I didn't think at that time, that it would be useful for others). https://hu.wikipedia.org/wiki/Szerkeszt%C5%91:BinBot/frissdump.py This script

[Pywikipedia-bugs] [Maniphest] [Commented On] T147178: Edit counter gives wrong result in replace.py

2017-08-31 Thread binbot
binbot added a comment. Thanks!TASK DETAILhttps://phabricator.wikimedia.org/T147178EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: binbotCc: gerritbot, matej_suchanek, jeblad, Framawiki, Danmichaelo, Zoranzoki21, Dvorapa, Danny_B, Zppix, JAnD, binbot

  1   2   >