[Pywikipedia-bugs] [Maniphest] [Commented On] T355981: Pywikibot makes extra network request even if diff is empty

2024-01-30 Thread RPI2026F1
RPI2026F1 added a comment. An alternative that would work is if I can query the diff publicly. Taking a look at the internal code, it uses private variables, so there's no easy way to get the diff in a "safe" way. TASK DETAIL https://phabricator.wikimedia.org/T355981 EMAIL P

[Pywikipedia-bugs] [Maniphest] [Commented On] T355981: Pywikibot makes extra network request even if diff is empty

2024-01-28 Thread RPI2026F1
RPI2026F1 added a comment. Obviously this is not something I would do intentionally, but in a large script is it very possible for one section of code to add a property and another section of code to remove that property, and then the diff becomes empty. TASK DETAIL https

[Pywikipedia-bugs] [Maniphest] [Commented On] T355981: Pywikibot makes extra network request even if diff is empty

2024-01-27 Thread RPI2026F1
RPI2026F1 added a comment. In T355981#9492165 <https://phabricator.wikimedia.org/T355981#9492165>, @Xqt wrote: > @RPI2026F1 Cannot follow this task, could you please explain a bit more. What is meant with //diff is empty//? What would be the reason not to make a request call i

[Pywikipedia-bugs] [Maniphest] [Created] T355981: Pywikibot makes extra network request even if diff is empty

2024-01-26 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): - `item = pywikibot.ItemPage(site, "Q1") - `item.

[Pywikipedia-bugs] [Maniphest] [Commented On] T355915: Pywikibot made unmentioned breaking change in 8.3.0

2024-01-25 Thread RPI2026F1
RPI2026F1 added a comment. I was using DataSite to enhance type information, since `pywikibot.Site()` only returns methods shared by all types of sites, and I needed some Wikidata-specific methods. TASK DETAIL https://phabricator.wikimedia.org/T355915 EMAIL PREFERENCES https

[Pywikipedia-bugs] [Maniphest] [Created] T355915: Pywikibot made unmentioned breaking change in 8.3.0

2024-01-25 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): - Run code in pywikibot 8.2.0 - Run code in pywikibot 8.3.0

[Pywikipedia-bugs] [Maniphest] [Commented On] T340495: Incorrect normalization of pywikibot.WbTime

2023-06-26 Thread RPI2026F1
RPI2026F1 added a comment. I mean it partially isn’t a bug as the precision is set to millennium. If you want a more specific date value then the precision should be updated to be more precise. TASK DETAIL https://phabricator.wikimedia.org/T340495 EMAIL PREFERENCES https

[Pywikipedia-bugs] [Maniphest] [Commented On] T331011: Use explicit submodule imports for typings

2023-04-08 Thread RPI2026F1
RPI2026F1 added a comment. There are alternative ways to only import ForwardRef types for type checkers. A common usage I've seen is: from typing import TYPE_CHECKING if TYPE_CHECKING: from .mod import SomeClass def func(param: 'SomeClass') ->

[Pywikipedia-bugs] [Maniphest] [Commented On] T145971: ItemPage.exists() throws pywikibot.exceptions.IsRedirectPage

2023-04-08 Thread RPI2026F1
RPI2026F1 added a comment. Ahh my bad, I didn't notice this difference. TASK DETAIL https://phabricator.wikimedia.org/T145971 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: RPI2026F1, matej_suchanek, Legoktm, Dalba, jayvdb, Magul

[Pywikipedia-bugs] [Maniphest] [Triaged] T334341: ItemPage.exists() documentation is incorrect

2023-04-08 Thread RPI2026F1
RPI2026F1 triaged this task as "Low" priority. TASK DETAIL https://phabricator.wikimedia.org/T334341 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: Aklapper, RPI2026F1, pywikibot-bugs-list, PotsdamLamb, Jyoo1011, JohnsonLe

[Pywikipedia-bugs] [Maniphest] [Created] T334341: ItemPage.exists() documentation is incorrect

2023-04-08 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): >>> page = pywikibot.Page(site, "Wikidata:Requests

[Pywikipedia-bugs] [Maniphest] [Closed] T145971: ItemPage.exists() throws pywikibot.exceptions.IsRedirectPage

2023-04-08 Thread RPI2026F1
RPI2026F1 closed this task as "Resolved". RPI2026F1 added a comment. Seems to be working as of the latest version. >>> page = pywikibot.Page(site, "WD:RFD") >>> page.exists() True TASK DETAIL https://phabricator.wikimedia.

[Pywikipedia-bugs] [Maniphest] [Commented On] T330716: Add more fine-grained types for WikidataSPARQLPageGenerator

2023-03-09 Thread RPI2026F1
RPI2026F1 added a comment. In T330716#8669002 <https://phabricator.wikimedia.org/T330716#8669002>, @Xqt wrote: > I've no glue how this can be done. `DataSite` is a subclass from `BaseSite` but how can an overload be done for all site objects which are no `DataSite` objects? If

[Pywikipedia-bugs] [Maniphest] [Created] T331011: Use explicit submodule imports for typings

2023-03-02 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): A lot of parts of `pywikibot` use classes from other submodules

[Pywikipedia-bugs] [Maniphest] [Created] T330716: Add more fine-grained types for WikidataSPARQLPageGenerator

2023-02-27 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added projects: Pywikibot, Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Feature summary** (what you would like to be able to do and where): `pywikibot.pagegenerators` has

[Pywikipedia-bugs] [Maniphest] [Closed] T327607: pywikibot item.editEntity() duplicates added statement

2023-02-05 Thread RPI2026F1
RPI2026F1 closed this task as "Resolved". RPI2026F1 claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T327607 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: Aklapper, RPI2026F1, pywikibot-bugs-list, PotsdamLamb

[Pywikipedia-bugs] [Maniphest] [Unblock] T325864: pywikibot.WbTime.fromTimestamp discards timezone information

2023-02-05 Thread RPI2026F1
RPI2026F1 closed subtask T325868: pywikibot.WbTime.toTimestamp discards timezone information as Resolved. TASK DETAIL https://phabricator.wikimedia.org/T325864 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: Aklapper, pywikibot-bugs

[Pywikipedia-bugs] [Maniphest] [Closed] T325868: pywikibot.WbTime.toTimestamp discards timezone information

2023-02-05 Thread RPI2026F1
RPI2026F1 closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T325868 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: Aklapper, RPI2026F1, pywikibot-bugs-list, PotsdamLamb, Jyoo1011, JohnsonLe

[Pywikipedia-bugs] [Maniphest] [Created] T328811: pywikibot.Claim method to recursively copy a claim

2023-02-03 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added projects: Pywikibot, Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Feature summary** (what you would like to be able to do and where): A method `pywikibot.Claim.copy()` that will copy

[Pywikipedia-bugs] [Maniphest] [Created] T327808: pywikibot item.editEntity() cannot handle cleared labels/aliases/descriptions/claims

2023-01-24 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added projects: Pywikibot, Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): site = pywikibot.Site("test",

[Pywikipedia-bugs] [Maniphest] [Edited] T327607: pywikibot item.editEntity() duplicates added statement

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

[Pywikipedia-bugs] [Maniphest] [Edited] T327607: pywikibot item.editEntity() duplicates added statement

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

[Pywikipedia-bugs] [Maniphest] [Created] T327607: pywikibot item.editEntity() duplicates added statement

2023-01-22 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added projects: Pywikibot, Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): python site = pywikibot.Site("

[Pywikipedia-bugs] [Maniphest] [Created] T327205: Pywikibot Claim inconsistency with sources vs references

2023-01-17 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added projects: Pywikibot, Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Most methods in `pywikibot.Claim` relating to references use the name `source`, except

[Pywikipedia-bugs] [Maniphest] [Blocker] T325248: Implement __eq__ that does not care about timezones

2023-01-10 Thread RPI2026F1
RPI2026F1 changed the status of subtask T326693: Normalization of WbTimes does not remove timezone information for precisions less than or equal to day from Open to In Progress. TASK DETAIL https://phabricator.wikimedia.org/T325248 EMAIL PREFERENCES https://phabricator.wikimedia.org

[Pywikipedia-bugs] [Maniphest] [Started] T326693: Normalization of WbTimes does not remove timezone information for precisions less than or equal to "day"

2023-01-10 Thread RPI2026F1
RPI2026F1 changed the task status from "Open" to "In Progress". RPI2026F1 triaged this task as "Low" priority. RPI2026F1 claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T326693 EMAIL PREFERENCES https://phabricator.wikimedia.org/s

[Pywikipedia-bugs] [Maniphest] [Created] T326693: Normalization of WbTimes does not remove timezone information for precisions less than or equal to "day"

2023-01-10 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added projects: Pywikibot-Wikidata, Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Currently normalization will carry over timezone information. However, this does not make sense for a precision

[Pywikipedia-bugs] [Maniphest] [Lowered Priority] T325864: pywikibot.WbTime.fromTimestamp discards timezone information

2023-01-10 Thread RPI2026F1
RPI2026F1 lowered the priority of this task from "Medium" to "Low". TASK DETAIL https://phabricator.wikimedia.org/T325864 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: Aklapper, pywikibot-bugs-list, RPI2026F

[Pywikipedia-bugs] [Maniphest] [Blocker] T325248: Implement __eq__ that does not care about timezones

2023-01-10 Thread RPI2026F1
RPI2026F1 changed the status of subtask T325864: pywikibot.WbTime.fromTimestamp discards timezone information from Stalled to In Progress. TASK DETAIL https://phabricator.wikimedia.org/T325248 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences

[Pywikipedia-bugs] [Maniphest] [Started] T325864: pywikibot.WbTime.fromTimestamp discards timezone information

2023-01-10 Thread RPI2026F1
RPI2026F1 changed the task status from "Stalled" to "In Progress". TASK DETAIL https://phabricator.wikimedia.org/T325864 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: Aklapper, pywikibot-bugs-list, RPI2026F

[Pywikipedia-bugs] [Maniphest] [Changed Status] T325197: Inconsistency between flake8 on Python 3.6 vs flake8 on Python 3.9 for pywikibot-core integration tests

2023-01-09 Thread RPI2026F1
RPI2026F1 changed the task status from "Invalid" to "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T325197 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: Xqt, Aklapper, RPI2026F1, pywikibot-bugs-lis

[Pywikipedia-bugs] [Maniphest] [Commented On] T326453: Unable to repr claim without target

2023-01-08 Thread RPI2026F1
RPI2026F1 added a comment. Maybe a solution can be to display a REPR of `` or something along those lines. TASK DETAIL https://phabricator.wikimedia.org/T326453 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: matej_suchanek, Xqt

[Pywikipedia-bugs] [Maniphest] [Commented On] T326453: Unable to repr claim without target

2023-01-07 Thread RPI2026F1
RPI2026F1 added a comment. @Xqt alright, sorry I missed that somehow TASK DETAIL https://phabricator.wikimedia.org/T326453 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: Xqt, Aklapper, pywikibot-bugs-list, RPI2026F1, PotsdamLamb

[Pywikipedia-bugs] [Maniphest] [Edited] T326453: Unable to repr claim without target

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

[Pywikipedia-bugs] [Maniphest] [Commented On] T326452: AttributeError: module 'pywikibot' has no attribute 'family' with bizarre repro

2023-01-07 Thread RPI2026F1
RPI2026F1 added a comment. I think the only way to deal with this is to do from imports only, ie no accessing modules from the parent pywikibot module. TASK DETAIL https://phabricator.wikimedia.org/T326452 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel

[Pywikipedia-bugs] [Maniphest] [Created] T326453: Unable to repr claim without target

2023-01-06 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added projects: Pywikibot, Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): - `repr(pywikibot.Claim(site))` **What

[Pywikipedia-bugs] [Maniphest] [Triaged] T326452: AttributeError: module 'pywikibot' has no attribute 'family' with bizarre repro

2023-01-06 Thread RPI2026F1
RPI2026F1 triaged this task as "Lowest" priority. TASK DETAIL https://phabricator.wikimedia.org/T326452 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: Aklapper, RPI2026F1, pywikibot-bugs-list, PotsdamLamb, Jyoo1011, Jo

[Pywikipedia-bugs] [Maniphest] [Created] T326452: AttributeError: module 'pywikibot' has no attribute 'family' with bizarre repro

2023-01-06 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): - Install pywikibot through pip through a virtualenv. Importantly

[Pywikipedia-bugs] [Maniphest] [Created] T326429: pywikibot pagegenerators should have a generator for batch loading ItemPages/PropertyPages/LexemePages

2023-01-06 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added projects: Pywikibot, Pywikibot-Wikidata, Pywikibot-pagegenerators.py. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Feature summary** (what you would like to be able to do and where): Instead of loading

[Pywikipedia-bugs] [Maniphest] [Updated] T326423: pywikibot pagegenerators should return ItemPages when site is wikidata

2023-01-06 Thread RPI2026F1
RPI2026F1 added a project: Pywikibot-pagegenerators.py. TASK DETAIL https://phabricator.wikimedia.org/T326423 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: Aklapper, RPI2026F1, pywikibot-bugs-list, PotsdamLamb, Jyoo1011, JohnsonLee01

[Pywikipedia-bugs] [Maniphest] [Created] T326424: Unable to convert normal page to item page even if site and title are valid item page values

2023-01-06 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added projects: Pywikibot, Pywikibot-Wikidata. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): site = pywikibot.Site("wikidata", "wikidata") y = pywikibot.Page(site, "Q5") y.d

[Pywikipedia-bugs] [Maniphest] [Created] T326423: pywikibot pagegenerators should return ItemPages when site is wikidata

2023-01-06 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added projects: Pywikibot, Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Feature summary** (what you would like to be able to do and where): Whenever the site is a data repository

[Pywikipedia-bugs] [Maniphest] [Unblock] T325342: Add pywikibot.WbTime.now()

2023-01-01 Thread RPI2026F1
RPI2026F1 closed subtask T325444: Include examples of using datetime objects and current time as Resolved. TASK DETAIL https://phabricator.wikimedia.org/T325342 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: Aklapper, pywikibot-bugs

[Pywikipedia-bugs] [Maniphest] [Closed] T325444: Include examples of using datetime objects and current time

2023-01-01 Thread RPI2026F1
RPI2026F1 closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T325444 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: Aklapper, pywikibot-bugs-list, RPI2026F1, PotsdamLamb, Jyoo1011, JohnsonLe

[Pywikipedia-bugs] [Maniphest] [Blocker] T123888: Incorrect default month and day for WbTime

2022-12-27 Thread RPI2026F1
RPI2026F1 changed the status of subtask T325860: Unable to submit any pywikibot.WbTime with hour/minute/second even if precision is day or lower from Stalled to In Progress. TASK DETAIL https://phabricator.wikimedia.org/T123888 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings

[Pywikipedia-bugs] [Maniphest] [Started] T325860: Unable to submit any pywikibot.WbTime with hour/minute/second even if precision is day or lower

2022-12-27 Thread RPI2026F1
RPI2026F1 changed the task status from "Stalled" to "In Progress". TASK DETAIL https://phabricator.wikimedia.org/T325860 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: Aklapper, RPI2026F1, pywikibot-bugs-list, P

[Pywikipedia-bugs] [Maniphest] [Created] T325915: pywikibot throws mwoauth-invalid-authorization-invalid-user when calling editEntity() with no arguments

2022-12-24 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added projects: Pywikibot, Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): import pywikibot site = pywikibot.Site

[Pywikipedia-bugs] [Maniphest] [Commented On] T325883: Test pywikibot with Python 3.10 and Python 3.11

2022-12-23 Thread RPI2026F1
RPI2026F1 added a comment. > Can you please provide references for this statement? Thanks! I noticed that whenever I submit a path the test suite is run from 3.6-3.9. TASK DETAIL https://phabricator.wikimedia.org/T325883 EMAIL PREFERENCES https://phabricator.wikimedia.org/setti

[Pywikipedia-bugs] [Maniphest] [Created] T325882: Pywikibot not handling wikibase-validator-sitelink-conflict-unknown

2022-12-23 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added projects: Pywikibot, Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): - Unknown what caused this error to pop up as my

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

2022-12-23 Thread RPI2026F1
RPI2026F1 added a comment. I guess that makes sense. My intro to Python programming was the discord.py library, which runs exclusively on asyncio, and so I had thought that async made the library use coroutines. TASK DETAIL https://phabricator.wikimedia.org/T325862 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Blocker] T325864: pywikibot.WbTime.fromTimestamp discards timezone information

2022-12-22 Thread RPI2026F1
RPI2026F1 changed the status of subtask T325868: pywikibot.WbTime.toTimestamp discards timezone information from Open to In Progress. TASK DETAIL https://phabricator.wikimedia.org/T325864 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc

[Pywikipedia-bugs] [Maniphest] [Started] T325868: pywikibot.WbTime.toTimestamp discards timezone information

2022-12-22 Thread RPI2026F1
RPI2026F1 triaged this task as "Low" priority. RPI2026F1 claimed this task. RPI2026F1 changed the task status from "Open" to "In Progress". TASK DETAIL https://phabricator.wikimedia.org/T325868 EMAIL PREFERENCES https://phabricator.wikimedia.org/s

[Pywikipedia-bugs] [Maniphest] [Created] T325868: pywikibot.WbTime.toTimestamp discards timezone information

2022-12-22 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added projects: Pywikibot-Wikidata, Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): ts1 = pywikibot.Timestamp( year=2022

[Pywikipedia-bugs] [Maniphest] [Changed Status] T325248: Implement __eq__ that does not care about timezones

2022-12-22 Thread RPI2026F1
RPI2026F1 triaged this task as "Low" priority. RPI2026F1 changed the task status from "Open" to "Stalled". TASK DETAIL https://phabricator.wikimedia.org/T325248 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI

[Pywikipedia-bugs] [Maniphest] [Blocker] T148280: WbTime comparison is incorrect

2022-12-22 Thread RPI2026F1
RPI2026F1 changed the status of subtask T325248: Implement __eq__ that does not care about timezones from Open to Stalled. TASK DETAIL https://phabricator.wikimedia.org/T148280 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: RPI2026F1

[Pywikipedia-bugs] [Maniphest] [Updated] T325342: Add pywikibot.WbTime.now()

2022-12-22 Thread RPI2026F1
RPI2026F1 removed a subtask: T324329: Document importance of site parameter on pywikibot.WbTime. TASK DETAIL https://phabricator.wikimedia.org/T325342 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: Aklapper, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Updated] T324329: Document importance of site parameter on pywikibot.WbTime

2022-12-22 Thread RPI2026F1
RPI2026F1 removed a parent task: T325342: Add pywikibot.WbTime.now(). TASK DETAIL https://phabricator.wikimedia.org/T324329 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: Aklapper, pywikibot-bugs-list, RPI2026F1, PotsdamLamb, Jyoo1011

[Pywikipedia-bugs] [Maniphest] [Updated] T325342: Add pywikibot.WbTime.now()

2022-12-22 Thread RPI2026F1
RPI2026F1 added a subtask: T324329: Document importance of site parameter on pywikibot.WbTime. TASK DETAIL https://phabricator.wikimedia.org/T325342 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: Aklapper, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Updated] T324329: Document importance of site parameter on pywikibot.WbTime

2022-12-22 Thread RPI2026F1
RPI2026F1 added a parent task: T325342: Add pywikibot.WbTime.now(). TASK DETAIL https://phabricator.wikimedia.org/T324329 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: Aklapper, pywikibot-bugs-list, RPI2026F1, PotsdamLamb, Jyoo1011

[Pywikipedia-bugs] [Maniphest] [Blocker] T325248: Implement __eq__ that does not care about timezones

2022-12-22 Thread RPI2026F1
RPI2026F1 changed the status of subtask T325864: pywikibot.WbTime.fromTimestamp discards timezone information from In Progress to Stalled. TASK DETAIL https://phabricator.wikimedia.org/T325248 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences

[Pywikipedia-bugs] [Maniphest] [Changed Status] T325864: pywikibot.WbTime.fromTimestamp discards timezone information

2022-12-22 Thread RPI2026F1
RPI2026F1 changed the task status from "In Progress" to "Stalled". TASK DETAIL https://phabricator.wikimedia.org/T325864 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: Aklapper, pywikibot-bugs-list, RPI2026F1, P

[Pywikipedia-bugs] [Maniphest] [Blocker] T325864: pywikibot.WbTime.fromTimestamp discards timezone information

2022-12-22 Thread RPI2026F1
RPI2026F1 changed the status of subtask T325866: pywikibot.WbTime does not correctly apply timezone information during comparisons from Open to In Progress. TASK DETAIL https://phabricator.wikimedia.org/T325864 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel

[Pywikipedia-bugs] [Maniphest] [Started] T325866: pywikibot.WbTime does not correctly apply timezone information during comparisons

2022-12-22 Thread RPI2026F1
RPI2026F1 claimed this task. RPI2026F1 triaged this task as "Medium" priority. RPI2026F1 changed the task status from "Open" to "In Progress". TASK DETAIL https://phabricator.wikimedia.org/T325866 EMAIL PREFERENCES https://phabricator.wikimedia.org/s

[Pywikipedia-bugs] [Maniphest] [Created] T325866: pywikibot.WbTime does not correctly apply timezone information during comparisons

2022-12-22 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added projects: Pywikibot-Wikidata, Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): ts1 = pywikibot.Timestamp( year=2022

[Pywikipedia-bugs] [Maniphest] [Blocker] T325248: Implement __eq__ that does not care about timezones

2022-12-22 Thread RPI2026F1
RPI2026F1 changed the status of subtask T325864: pywikibot.WbTime.fromTimestamp discards timezone information from Open to In Progress. TASK DETAIL https://phabricator.wikimedia.org/T325248 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1

[Pywikipedia-bugs] [Maniphest] [Started] T325864: pywikibot.WbTime.fromTimestamp discards timezone information

2022-12-22 Thread RPI2026F1
RPI2026F1 claimed this task. RPI2026F1 triaged this task as "Medium" priority. RPI2026F1 changed the task status from "Open" to "In Progress". TASK DETAIL https://phabricator.wikimedia.org/T325864 EMAIL PREFERENCES https://phabricator.wikimedia.org/s

[Pywikipedia-bugs] [Maniphest] [Created] T325864: pywikibot.WbTime.fromTimestamp discards timezone information

2022-12-22 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added projects: Pywikibot-Wikidata, Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): import zoneinfo # This is the stdlib version

[Pywikipedia-bugs] [Maniphest] [Blocker] T148280: WbTime comparison is incorrect

2022-12-22 Thread RPI2026F1
RPI2026F1 changed the status of subtask T325863: Comparison operators do not do identity check before comparing from Open to In Progress. TASK DETAIL https://phabricator.wikimedia.org/T148280 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences

[Pywikipedia-bugs] [Maniphest] [Started] T325863: Comparison operators do not do identity check before comparing

2022-12-22 Thread RPI2026F1
RPI2026F1 claimed this task. RPI2026F1 triaged this task as "High" priority. RPI2026F1 changed the task status from "Open" to "In Progress". TASK DETAIL https://phabricator.wikimedia.org/T325863 EMAIL PREFERENCES https://phabricator.wikimedia.org/s

[Pywikipedia-bugs] [Maniphest] [Created] T325863: Comparison operators do not do identity check before comparing

2022-12-22 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added projects: Pywikibot-Wikidata, Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): - `pywikibot.WbTime(year=5) <

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

2022-12-22 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Pywikibot has a feature that allows you to run the request in the background. However, I feel the name "async" is kind of

[Pywikipedia-bugs] [Maniphest] [Blocker] T123888: Incorrect default month and day for WbTime

2022-12-22 Thread RPI2026F1
RPI2026F1 changed the status of subtask T325860: Unable to submit any pywikibot.WbTime with hour/minute/second even if precision is day or lower from Open to Stalled. TASK DETAIL https://phabricator.wikimedia.org/T123888 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel

[Pywikipedia-bugs] [Maniphest] [Changed Status] T325860: Unable to submit any pywikibot.WbTime with hour/minute/second even if precision is day or lower

2022-12-22 Thread RPI2026F1
RPI2026F1 claimed this task. RPI2026F1 triaged this task as "Medium" priority. RPI2026F1 changed the task status from "Open" to "Stalled". RPI2026F1 added a comment. This can be easily fixed by normalizing the WbTime object whenever it's assigned to a claim. How

[Pywikipedia-bugs] [Maniphest] [Created] T325860: Unable to submit any pywikibot.WbTime with hour/minute/second even if precision is day or lower

2022-12-22 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added projects: Pywikibot, Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): site = pywikibot.Site("wikidata",

[Pywikipedia-bugs] [Maniphest] [Unblock] T123888: Incorrect default month and day for WbTime

2022-12-22 Thread RPI2026F1
RPI2026F1 closed subtask T148280: WbTime comparison is incorrect as Resolved. TASK DETAIL https://phabricator.wikimedia.org/T123888 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: RPI2026F1, thiemowmde, Multichill, Aklapper

[Pywikipedia-bugs] [Maniphest] [Closed] T148280: WbTime comparison is incorrect

2022-12-22 Thread RPI2026F1
RPI2026F1 closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T148280 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: RPI2026F1, thiemowmde, Lokal_Profil, gerritbot, Xqt, Aklapper, pywikibot

[Pywikipedia-bugs] [Maniphest] [Commented On] T71286: harvest_template should ignore placeholder images

2022-12-18 Thread RPI2026F1
RPI2026F1 added a comment. For the category option, it gets tricky because the bot would have to resolve all subdirectories of unknown depth. Also there are a //lot// of files in that category, PetScan <https://petscan.wmflabs.org/?referrer_url=_wiki=_max_results=500=none_labels_n

[Pywikipedia-bugs] [Maniphest] [Commented On] T74305: Wikidata scripts exit with an exception when the site is not a wikibase client

2022-12-18 Thread RPI2026F1
RPI2026F1 added a comment. Is this not expected behavior if the site is not a Wikibase client? It makes no sense trying to run Wikibase-related scripts for something that isn't linked to Wikibase. TASK DETAIL https://phabricator.wikimedia.org/T74305 EMAIL PREFERENCES https

[Pywikipedia-bugs] [Maniphest] [Edited] T74305: Wikidata scripts exit with an exception when the site is not a wikibase client

2022-12-18 Thread RPI2026F1
RPI2026F1 updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T74305 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: jayvdb, Ricordisamoa, pywikibot-bugs-list, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH

[Pywikipedia-bugs] [Maniphest] [Closed] T257013: Pywikibot cannot fetch some wikidata items.

2022-12-18 Thread RPI2026F1
RPI2026F1 closed this task as "Resolved". RPI2026F1 claimed this task. RPI2026F1 added a comment. I don't know what caused it, but the bug seems to not be happening anymore: Input: import pywikibot ​ def test1(): site = pywikibot.Site('en', 'wikipedia')

[Pywikipedia-bugs] [Maniphest] [Started] T325444: Include examples of using datetime objects and current time

2022-12-17 Thread RPI2026F1
RPI2026F1 changed the task status from "Open" to "In Progress". TASK DETAIL https://phabricator.wikimedia.org/T325444 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: Aklapper, pywikibot-bugs-list, RPI2026F

[Pywikipedia-bugs] [Maniphest] [Blocker] T325342: Add pywikibot.WbTime.now()

2022-12-17 Thread RPI2026F1
RPI2026F1 changed the status of subtask T325444: Include examples of using datetime objects and current time from Open to In Progress. TASK DETAIL https://phabricator.wikimedia.org/T325342 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1

[Pywikipedia-bugs] [Maniphest] [Created] T325444: Include examples of using datetime objects and current time

2022-12-17 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added projects: Pywikibot, Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION There are ways to easily both make `pywikibot.WbTime` objects from both an existing datetime object or the current

[Pywikipedia-bugs] [Maniphest] [Closed] T325342: Add pywikibot.WbTime.now()

2022-12-17 Thread RPI2026F1
RPI2026F1 closed this task as "Invalid". RPI2026F1 added a comment. I just realized that `pywikibot.Timestamp.now()` exists, and can be fed into `pywikibot.WbTime.fromTimestamp()`. TASK DETAIL https://phabricator.wikimedia.org/T325342 EMAIL PREFERENCES https://phabricator.wik

[Pywikipedia-bugs] [Maniphest] [Unblock] T123888: Incorrect default month and day for WbTime

2022-12-17 Thread RPI2026F1
RPI2026F1 closed subtask T325342: Add pywikibot.WbTime.now() as Invalid. TASK DETAIL https://phabricator.wikimedia.org/T123888 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: RPI2026F1, thiemowmde, Multichill, Aklapper, StudiesWorld

[Pywikipedia-bugs] [Maniphest] [Claimed] T325248: Implement __eq__ that does not care about timezones

2022-12-17 Thread RPI2026F1
RPI2026F1 claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T325248 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: Aklapper, RPI2026F1, pywikibot-bugs-list, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck

[Pywikipedia-bugs] [Maniphest] [Changed Status] T325342: Add pywikibot.WbTime.now()

2022-12-17 Thread RPI2026F1
RPI2026F1 changed the task status from "Open" to "Stalled". RPI2026F1 added a comment. For the `now()` method to support setting the precision, I am waiting for normalization to be introduced first. TASK DETAIL https://phabricator.wikimedia.org/T325342 EMAIL

[Pywikipedia-bugs] [Maniphest] [Blocker] T123888: Incorrect default month and day for WbTime

2022-12-17 Thread RPI2026F1
RPI2026F1 changed the status of subtask T325342: Add pywikibot.WbTime.now() from Open to Stalled. TASK DETAIL https://phabricator.wikimedia.org/T123888 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: RPI2026F1, thiemowmde, Multichill

[Pywikipedia-bugs] [Maniphest] [Updated] T123888: Incorrect default month and day for WbTime

2022-12-16 Thread RPI2026F1
RPI2026F1 added a subtask: T325342: Add pywikibot.WbTime.now(). TASK DETAIL https://phabricator.wikimedia.org/T123888 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: RPI2026F1, thiemowmde, Multichill, Aklapper, StudiesWorld, pywikibot

[Pywikipedia-bugs] [Maniphest] [Updated] T325342: Add pywikibot.WbTime.now()

2022-12-16 Thread RPI2026F1
RPI2026F1 added a parent task: T123888: Incorrect default month and day for WbTime. TASK DETAIL https://phabricator.wikimedia.org/T325342 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: Aklapper, pywikibot-bugs-list, RPI2026F1

[Pywikipedia-bugs] [Maniphest] [Created] T325342: Add pywikibot.WbTime.now()

2022-12-15 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added projects: Pywikibot, Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Feature summary** (what you would like to be able to do and where): Instantly get a WbTime object for the current

[Pywikipedia-bugs] [Maniphest] [Claimed] T325342: Add pywikibot.WbTime.now()

2022-12-15 Thread RPI2026F1
RPI2026F1 claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T325342 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: Aklapper, pywikibot-bugs-list, RPI2026F1, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck

[Pywikipedia-bugs] [Maniphest] [Commented On] T325248: Implement __eq__ that does not care about timezones

2022-12-14 Thread RPI2026F1
RPI2026F1 added a comment. I think the solution is to make a new method that does this, but the question is what to name it. TASK DETAIL https://phabricator.wikimedia.org/T325248 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc

[Pywikipedia-bugs] [Maniphest] [Created] T325248: Implement __eq__ that does not care about timezones

2022-12-14 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added projects: Pywikibot-Wikidata, Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Feature summary** (what you would like to be able to do and where): I want to be able to compare two times

[Pywikipedia-bugs] [Maniphest] [Started] T148280: WbTime comparison is incorrect

2022-12-14 Thread RPI2026F1
RPI2026F1 changed the task status from "Open" to "In Progress". RPI2026F1 changed the subtype of this task from "Task" to "Feature Request". TASK DETAIL https://phabricator.wikimedia.org/T148280 EMAIL PREFERENCES https://phabricator.wikim

[Pywikipedia-bugs] [Maniphest] [Blocker] T123888: Incorrect default month and day for WbTime

2022-12-14 Thread RPI2026F1
RPI2026F1 changed the status of subtask T148280: WbTime comparison is incorrect from Open to In Progress. TASK DETAIL https://phabricator.wikimedia.org/T123888 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: RPI2026F1, thiemowmde

[Pywikipedia-bugs] [Maniphest] [Started] T123888: Incorrect default month and day for WbTime

2022-12-14 Thread RPI2026F1
RPI2026F1 claimed this task. RPI2026F1 changed the task status from "Open" to "In Progress". RPI2026F1 raised the priority of this task from "Lowest" to "Low". RPI2026F1 changed the subtype of this task from "Task" to "Bug Report". TA

[Pywikipedia-bugs] [Maniphest] [Triaged] T325241: Represent precision in pywikibot.WbTime as an Enum

2022-12-14 Thread RPI2026F1
RPI2026F1 triaged this task as "Low" priority. TASK DETAIL https://phabricator.wikimedia.org/T325241 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: Aklapper, RPI2026F1, pywikibot-bugs-list, PotsdamLamb, Jyoo1011, JohnsonLe

[Pywikipedia-bugs] [Maniphest] [Created] T325241: Represent precision in pywikibot.WbTime as an Enum

2022-12-14 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added projects: Pywikibot, Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Feature summary** (what you would like to be able to do and where): Instead of using a dictionary, using an enum

[Pywikipedia-bugs] [Maniphest] [Commented On] T123888: Incorrect default month and day for WbTime

2022-12-14 Thread RPI2026F1
RPI2026F1 added a comment. Actually I think normalization would help solve the problem. The fix then is simple. TASK DETAIL https://phabricator.wikimedia.org/T123888 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: RPI2026F1

  1   2   >