[Pywikipedia-bugs] [Maniphest] [Declined] T192733: Remove old symlinks to trunk/rewrite/compat/pywikipedia in /shared

2024-05-08 Thread Multichill
Multichill closed this task as "Declined". Multichill added a comment. No activity for 5 years. I'm just going to go ahead and mark this as declined. If people want to use old symlinks, that's fine. No added value in breaking those. TASK DETAIL https://phabricator.wikimedia.o

[Pywikipedia-bugs] [Maniphest] [Updated] T192733: Remove old symlinks to trunk/rewrite/compat/pywikipedia in /shared

2024-05-08 Thread Multichill
Multichill added a project: Pywikibot. Multichill added a comment. In T192733#9774988 <https://phabricator.wikimedia.org/T192733#9774988>, @Xqt wrote: > Not related to Pywikibot: > https://codesearch.wmcloud.org/pywikibot/?q=trunk%7Crewrite%7Ccompat%7Cpywikipedia=

[Pywikipedia-bugs] [Maniphest] [Commented On] T343936: Handle timing out SPARQL endpoint in Pywikibot

2023-08-10 Thread Multichill
Multichill added a comment. In T343936#9083076 <https://phabricator.wikimedia.org/T343936#9083076>, @Lucas_Werkmeister_WMDE wrote: >> We should probably handle the 500 error as a recoverable error (just like the socket time out) and retry. > > Maybe th

[Pywikipedia-bugs] [Maniphest] [Commented On] T343936: Handle timing out SPARQL endpint in Pywikibot

2023-08-09 Thread Multichill
Multichill added a comment. With the increased time out I was able to update https://www.wikidata.org/wiki/Wikidata:WikiProject_sum_of_all_paintings/Property_statistics ( https://github.com/multichill/toollabs/blob/master/bot/wikidata/painting_property_statistics.py ) TASK DETAIL https

[Pywikipedia-bugs] [Maniphest] [Created] T343936: Handle timing out SPARQL endpint in Pywikibot

2023-08-09 Thread Multichill
Multichill created this task. Multichill added projects: Pywikibot, Pywikibot-Wikidata, Wikidata-Query-Service. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION I have some bots that are not doing their reporting. Looking at the logs I noticed I hit

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

2023-07-02 Thread Multichill
Multichill added a comment. This is a bug. This causes bots to butcher up dates. Say for example a painting is sourced to be made between 1190 and 1210. The year will be set to 1200 with a precision of a millennium with earliest date 1190 and latest date 1210. The 1200 is used for sorting

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

2023-06-26 Thread Multichill
Multichill added a comment. https://www.wikidata.org/w/index.php?title=Q118631862=prev=1924443167 is what is supposed to happen TASK DETAIL https://phabricator.wikimedia.org/T340495 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Multichill Cc

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

2023-06-26 Thread Multichill
Multichill created this task. Multichill added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION I noticed my bot doing weird edits like https://www.wikidata.org/w/index.php?title=Q2270291=prev=1924431056 . Here the bot should have

[Pywikipedia-bugs] [Maniphest] [Created] T327600: pwb.py on Toolforge throws mwparserfromhell error on Pywikibot 8 release

2023-01-22 Thread Multichill
Multichill created this task. Multichill added projects: Pywikibot, Toolforge. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): - Run python3 /data/project/shared/pywikibot/core_stable

[Pywikipedia-bugs] [Maniphest] [Reopened] T321452: All CI tests fail on Appveyour and Github

2022-10-29 Thread Multichill
Multichill reopened this task as "Open". Multichill added a comment. @Xqt : Still broken: raceback (most recent call last): File "/data/project/geograph/pywikibot/pwb.py", line 38, in sys.exit(main()) File "/data/project/geograph/pywikibot/

[Pywikipedia-bugs] [Maniphest] [Block] T320851: pwb console script does not work when pip installed from git

2022-10-29 Thread Multichill
Multichill reopened subtask T321452: All CI tests fail on Appveyour and Github as Open. TASK DETAIL https://phabricator.wikimedia.org/T320851 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, Multichill Cc: Xqt, Aklapper, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Unassigned] T319981: Migrate pywikibot from Toolforge GridEngine to Toolforge Kubernetes

2022-10-17 Thread Multichill
Multichill removed Dvorapa as the assignee of this task. Multichill added a subscriber: Dvorapa. Multichill added a comment. In T319981#8320032 <https://phabricator.wikimedia.org/T319981#8320032>, @Xqt wrote: > @Dvorapa: Is this assignment intentionally? As mentioned i

[Pywikipedia-bugs] [Maniphest] [Commented On] T249787: Create Docker image for Toolforge that is purpose built to run pywikibot scripts

2022-10-14 Thread Multichill
Multichill added a comment. We discussed this a bit on Telegram/IRC (wikimedia-cloud) triggered by the grid to Kubernetes migration (as pasted above). I'll try to describe my use case a bit. I have all sorts of jobs running. - All are based on Pywikibot, most of them are in https

[Pywikipedia-bugs] [Maniphest] [Commented On] T291771: Latest Pywikibot git version doesn't work on Toolforge

2022-01-01 Thread Multichill
Multichill added a comment. In T291771#7591567 <https://phabricator.wikimedia.org/T291771#7591567>, @Xqt wrote: > The //"AttributeError: module 'pywikibot' has no attribute 'Site'// error is fixed with T298384 <https://phabricator.wikimedia.org/T298384>. Is anyth

[Pywikipedia-bugs] [Maniphest] [Updated] T291771: Latest Pywikibot git version doesn't work on Toolforge

2021-09-26 Thread Multichill
Multichill added a parent task: T280806: Remove old action api token parameters. TASK DETAIL https://phabricator.wikimedia.org/T291771 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Multichill Cc: JJMC89, Legoktm, Xqt, Aklapper, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Reopened] T291771: Latest Pywikibot git version doesn't work on Toolforge

2021-09-26 Thread Multichill
Multichill reopened this task as "Open". Multichill added a comment. In T291771#7378841 <https://phabricator.wikimedia.org/T291771#7378841>, @JJMC89 wrote: > If you are not using the shared install <https://wikitech.wikimedia.org/wiki/He

[Pywikipedia-bugs] [Maniphest] [Updated] T291771: Latest Pywikibot git version doesn't work on Toolforge

2021-09-26 Thread Multichill
Multichill added a project: Toolforge. Multichill added a subscriber: JJMC89. Multichill added a comment. Not sure why the Toolforge project was removed by @JJMC89 . A package is missing on the generic infrastructure affecting multiple tools. Also no mention of this on https

[Pywikipedia-bugs] [Maniphest] [Created] T291771: Latest Pywikibot git version doesn't work on Toolforge

2021-09-26 Thread Multichill
Multichill created this task. Multichill added projects: Pywikibot, Toolforge. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION I have been running the git version of Pywikibot on several accounts for Toolforge for years. This way I have an easy way

[Pywikipedia-bugs] [Maniphest] [Commented On] T268645: Pywikibot crashing on ratelimit after the ratelimit removal from bot group in 2020

2020-11-24 Thread Multichill
Multichill added a comment. In T268645#6645735 <https://phabricator.wikimedia.org/T268645#6645735>, @Xqt wrote: > Looks like it is the same as T192912 <https://phabricator.wikimedia.org/T192912> > > Due to > > if code == 'failed-save'

[Pywikipedia-bugs] [Maniphest] [Created] T268645: Pywikibot crashing on ratelimit after the ratelimit removal from bot group in 2020

2020-11-24 Thread Multichill
Multichill created this task. Multichill added projects: Pywikibot, Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION I noticed I got: pywikibot.data.api.APIError: failed-save: The save has failed. [help: See https://www.wikidata.org/w

[Pywikipedia-bugs] [Maniphest] [Commented On] T192733: Remove old symlinks to trunk/rewrite/compat/pywikipedia in /shared

2020-10-05 Thread Multichill
Multichill added a comment. In T192733#6518924 <https://phabricator.wikimedia.org/T192733#6518924>, @Xqt wrote: > In T192733#6518857 <https://phabricator.wikimedia.org/T192733#6518857>, @Multichill wrote: > >> In T192733#6516471 <https://phabricator.wi

[Pywikipedia-bugs] [Maniphest] [Updated] T192733: Remove old symlinks to trunk/rewrite/compat/pywikipedia in /shared

2020-10-05 Thread Multichill
Multichill added a project: Pywikibot. Multichill added a comment. In T192733#6516471 <https://phabricator.wikimedia.org/T192733#6516471>, @Xqt wrote: > Don't see that this is related to Pywikibot framework. pywikipedia is the old name for Pywikbot so this i

[Pywikipedia-bugs] [Maniphest] [Commented On] T258354: create new rate-limited bot group for Wikidata

2020-09-28 Thread Multichill
Multichill added a comment. Ok, I see, we only put misbehaving bots in this group. TASK DETAIL https://phabricator.wikimedia.org/T258354 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Multichill Cc: MarcoAurelio, Urbanecm, ItamarWMDE

[Pywikipedia-bugs] [Maniphest] [Raised Priority] T261050: Frequent "Invalid CSRF token" errors on Wikimedia projects using Pywikibot since August 2020

2020-09-07 Thread Multichill
Multichill raised the priority of this task from "Medium" to "High". Multichill added a subscriber: Schlurcher. Multichill added a comment. Bumping this to high because this makes longer pywikibot bot runs crash. TASK DETAIL https://phabricator.wikimedia.org/T26105

[Pywikipedia-bugs] [Maniphest] [Commented On] T261050: Frequent "Invalid CSRF token" errors on Wikimedia Commons using Pywikibot since August 2020

2020-08-30 Thread Multichill
Multichill added a comment. I think this happens: - Bot fires up and gets some tokens - Bot does a lot of edits all with the same token - For some reason after a long time the token is not valid anymore - The bot continues to try to edit with the old invalid token instead

[Pywikipedia-bugs] [Maniphest] [Commented On] T261050: Frequent "Invalid CSRF token" errors on Wikimedia Commons using Pywikibot since August 2020

2020-08-29 Thread Multichill
Multichill added a comment. I think I found what is going wrong. site.get_tokens(['csrf']) gets you a new token, but doesn't update the internal token state: >>> import pywikibot >>> site = pywikibot.Site(u'commons', u'commons') >>&g

[Pywikipedia-bugs] [Maniphest] [Commented On] T261050: Frequent "Invalid CSRF token" errors on Wikimedia Commons using Pywikibot since August 2020

2020-08-29 Thread Multichill
Multichill added a comment. In T261050#6414369 <https://phabricator.wikimedia.org/T261050#6414369>, @Tgr wrote: > If the error is easy enough to reproduce, you could try setting the X-Wikimedia-Debug <https://wikitech.wikimedia.org/wiki/WikimediaDebug> header to

[Pywikipedia-bugs] [Maniphest] [Commented On] T261050: Frequent "Invalid CSRF token" errors on Wikimedia Commons using Pywikibot since August 2020

2020-08-26 Thread Multichill
Multichill added a comment. In T261050#6410732 <https://phabricator.wikimedia.org/T261050#6410732>, @Tgr wrote: > What login method are you using? Classic login > In T261050#6410502 <https://phabricator.wikimedia.org/T261050#6410502>, @daniel wrote: >

[Pywikipedia-bugs] [Maniphest] [Commented On] T261050: Frequent "Invalid CSRF token" errors on Wikimedia Commons using Pywikibot since August 2020

2020-08-24 Thread Multichill
Multichill added a comment. @Xqt what is the correct way to force the bot to get a new token? Just site.get_tokens() or something else? I noticed some of my bots now stuck with 100s of errors in a row. TASK DETAIL https://phabricator.wikimedia.org/T261050 EMAIL PREFERENCES https

[Pywikipedia-bugs] [Maniphest] [Created] T261050: Frequent "Invalid CSRF token" errors on Wikimedia Commons using Pywikibot since August 2020

2020-08-22 Thread Multichill
Multichill created this task. Multichill added projects: Commons, Security, Pywikibot, MediaWiki-API. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. Restricted Application added a project: Platform Engineering. TASK DESCRIPTION Since August 2020 I often seem

[Pywikipedia-bugs] [Maniphest] [Commented On] T258354: create new rate-limited bot group for Wikidata

2020-08-16 Thread Multichill
Multichill added a comment. In T258354#6387030 <https://phabricator.wikimedia.org/T258354#6387030>, @Ladsgroup wrote: > In T258354#6365838 <https://phabricator.wikimedia.org/T258354#6365838>, @Multichill wrote: > >> Just add a sane (relatively high) ratel

[Pywikipedia-bugs] [Maniphest] [Updated] T258354: create new rate-limited bot group for Wikidata

2020-08-06 Thread Multichill
Multichill added projects: Pywikibot-Wikidata, Pywikibot. Restricted Application added a subscriber: pywikibot-bugs-list. TASK DETAIL https://phabricator.wikimedia.org/T258354 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Multichill Cc: pywikibot

[Pywikipedia-bugs] [Maniphest] [Updated] T259100: test_content_format paraminfo_tests fail at test-wiki

2020-08-02 Thread Multichill
Multichill added subscribers: daniel, Legoktm. Multichill added a comment. Isn't this something new being rolled out? Would expect, beta, test, group1/2/3. So on https://test.wikipedia.org/w/api.php?action=help=edit I currently see: contentformat Content serialization format used

[Pywikipedia-bugs] [Maniphest] [Closed] T252292: Make depicts class to instance bot for structured data on Commons

2020-05-09 Thread Multichill
Multichill closed this task as "Resolved". Multichill added a comment. Also discussed at https://commons.wikimedia.org/wiki/Commons_talk:Depicts#Replacing_a_class_with_a_specific_instance . Cleaned up the code. Done for now. TASK DETAIL https://phabricator.wikimedia.org/T252

[Pywikipedia-bugs] [Maniphest] [Commented On] T252292: Make depicts class to instance bot for structured data on Commons

2020-05-09 Thread Multichill
Multichill added a comment. Works, see https://commons.wikimedia.org/w/index.php?title=File:Delfzijl,_Nederlands_Hervormde_Kerk_1422.jpg=prev=418156340 and code at https://github.com/multichill/toollabs/blob/master/bot/commons/depicts_instance.py TASK DETAIL https

[Pywikipedia-bugs] [Maniphest] [Created] T252292: Make depicts class to instance bot for structured data on Commons

2020-05-09 Thread Multichill
Multichill created this task. Multichill added projects: Wikimedia-Hackathon-2020, Pywikibot, StructuredDataOnCommons. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION For quite a few images on Commons we have depicts -> church building, see ht

[Pywikipedia-bugs] [Maniphest] [Updated] T252290: Update Pywikibot to the most recent version

2020-05-09 Thread Multichill
Multichill added a project: Wikimedia-Hackathon-2020. TASK DETAIL https://phabricator.wikimedia.org/T252290 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Multichill Cc: Chicocvenancio, Xqt, pywikibot-bugs-list, Abbe98, JohnsonLee01, Dijkstra

[Pywikipedia-bugs] [Maniphest] [Updated] T252290: Update Pywikibot to the most recent version

2020-05-09 Thread Multichill
Multichill added a subscriber: Xqt. Multichill added a project: Pywikibot. Restricted Application added a subscriber: pywikibot-bugs-list. TASK DETAIL https://phabricator.wikimedia.org/T252290 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences

[Pywikipedia-bugs] [Maniphest] [Created] T249427: Using imagefile.touch() with pwb.py will throw pywikibot.i18n.TranslationError

2020-04-04 Thread Multichill
Multichill created this task. Multichill added projects: Pywikibot, Pywikibot-i18n, Regression. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION I use pwb.py as wrapper to run scripts. If I do an imagefile.touch() . Since recently this throws

[Pywikipedia-bugs] [Maniphest] [Commented On] T112140: Provide a wrapper function in pywikibot around wbparsevalue

2020-03-18 Thread Multichill
Multichill added a comment. I might pick this up if nobody else beats me to it (go ahead). I actually have been using this a lot in my bots and it works quite well. TASK DETAIL https://phabricator.wikimedia.org/T112140 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel

[Pywikipedia-bugs] [Maniphest] [Updated] T242157: Provide some Pywikibot usage statistics for Python2.7 and Python3.x

2020-01-18 Thread Multichill
Multichill added a comment. In T242157#5789026 <https://phabricator.wikimedia.org/T242157#5789026>, @Urbanecm wrote: > Bot usernames are (mostly) connected with exactly one operator. As said in previous comment, I'm happy to contact the bot owners on your behalf, I'm also happ

[Pywikipedia-bugs] [Maniphest] [Commented On] T242157: Provide some Pywikibot usage statistics for Python2.7 and Python3.x

2020-01-08 Thread Multichill
Multichill added a comment. @Urbanecm thanks for looking into this. Appreciated. Not sure if bot usernames are a privacy issue, I think not because these are role accounts. I recall in the past we had a list of top bots using an old version so we could contact the operator. Maybe double

[Pywikipedia-bugs] [Maniphest] [Updated] T213287: Drop support of python 2.7

2020-01-07 Thread Multichill
Multichill added a subtask: T242157: Provide some Pywikibot usage statistics for Python2.7 and Python3.x. TASK DETAIL https://phabricator.wikimedia.org/T213287 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Multichill Cc: Framawiki, Legoktm

[Pywikipedia-bugs] [Maniphest] [Updated] T242157: Provide some Pywikibot usage statistics for Python2.7 and Python3.x

2020-01-07 Thread Multichill
Multichill added a parent task: T213287: Drop support of python 2.7. TASK DETAIL https://phabricator.wikimedia.org/T242157 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Multichill Cc: Aklapper, pywikibot-bugs-list, Multichill, Zkhalido, 4748kitoko

[Pywikipedia-bugs] [Maniphest] [Created] T242157: Provide some Pywikibot usage statistics for Python2.7 and Python3.x

2020-01-07 Thread Multichill
Multichill created this task. Multichill added projects: Pywikibot, Analytics. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Some people are extremely eager to get rid of python 2.7, but we have no clue what the impact will be on our user base

[Pywikipedia-bugs] [Maniphest] [Created] T233479: Check/Update Pywikibot for Reporting of edit failures due to AbuseFilter and SpamBlacklist

2019-09-21 Thread Multichill
Multichill created this task. Multichill added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Another one to check. I recall we had issues with this. Original email: When saving an edit is prevented by the AbuseFilter

[Pywikipedia-bugs] [Maniphest] [Created] T233477: Check/Update Pywikibot for blockexpiry timestamps from list=users and list=allusers

2019-09-21 Thread Multichill
Multichill created this task. Multichill added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Brad send this email. Not sure what phab task contains the details. Might affect Pywikibot. Maybe we can rip out some work around code

[Pywikipedia-bugs] [Maniphest] [Commented On] T230196: Implement filearchive in Pywikibot Site

2019-09-12 Thread Multichill
Multichill added a comment. Some example code (currently commented out but probably enabled soon): https://github.com/multichill/toollabs/blob/master/bot/commons/wikidata_uploader.py#L229 TASK DETAIL https://phabricator.wikimedia.org/T230196 EMAIL PREFERENCES https

[Pywikipedia-bugs] [Maniphest] [Updated] T230196: Implement filearchive in Pywikibot Site

2019-09-11 Thread Multichill
Multichill added a comment. T60993 <https://phabricator.wikimedia.org/T60993> got implemented, probably now this is possible. TASK DETAIL https://phabricator.wikimedia.org/T230196 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Multich

[Pywikipedia-bugs] [Maniphest] [Updated] T230196: Implement filearchive in Pywikibot Site

2019-09-11 Thread Multichill
Multichill added a subtask: T60993: Make limited information from filearchive available to everyone. TASK DETAIL https://phabricator.wikimedia.org/T230196 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Multichill Cc: Aklapper, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Declined] T229859: Pywikibot meetup Wikimania hackathon 2019

2019-08-20 Thread Multichill
Multichill closed this task as "Declined". Multichill added a comment. Didn't happen AFAIK. Maybe next time. TASK DETAIL https://phabricator.wikimedia.org/T229859 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Multichill Cc: Ronnie

[Pywikipedia-bugs] [Maniphest] [Commented On] T229859: Pywikibot meetup Wikimania hackathon 2019

2019-08-16 Thread Multichill
Multichill added a comment. Still possible, but not sure how many people are actually interested in this. TASK DETAIL https://phabricator.wikimedia.org/T229859 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Multichill Cc: RonnieV, Dvorapa, Xqt

[Pywikipedia-bugs] [Maniphest] [Triaged] T230196: Implement filearchive in Pywikibot Site

2019-08-09 Thread Multichill
Multichill triaged this task as "Low" priority. Multichill added a comment. When I hit the api I'm logged into my own (sysop) account so I get something back. Bot account can't see deleted stuff so doesn't work. Looking at https://commons.wikimedia.org/wiki/Special:ListGroupRights

[Pywikipedia-bugs] [Maniphest] [Edited] T230196: Implement filearchive in Pywikibot Site

2019-08-09 Thread Multichill
Multichill updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T230196 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Multichill Cc: Aklapper, pywikibot-bugs-list, Multichill, Viztor, DannyS712, Wenyi, Tbscho, MayS, Mdupont

[Pywikipedia-bugs] [Maniphest] [Created] T230196: Implement filearchive in Pywikibot Site

2019-08-09 Thread Multichill
Multichill created this task. Multichill added projects: Pywikibot, Pywikibot-Commons. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION The very old task T23345 <https://phabricator.wikimedia.org/T23345> got implemented. We can now

[Pywikipedia-bugs] [Maniphest] [Created] T229859: Pywikibot meetup Wikimania hackathon 2019

2019-08-05 Thread Multichill
Multichill created this task. Multichill added projects: Wikimania-Hackathon-2019, Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Would be nice to have a meet up of Pyikibot developers at the Wikimania hackathon 2019 like we had

[Pywikipedia-bugs] [Maniphest] [Retitled] T221801: Pywikibot meetup wikimedia hackathon 2019 (usage and/or development workshop, issues and future discussion, other stuff to talk about)

2019-08-05 Thread Multichill
Multichill renamed this task from "Pywikibot meetup (usage and/or development workshop, issues and future discussion, other stuff to talk about)" to "Pywikibot meetup wikimedia hackathon 2019 (usage and/or development workshop, issues and future discussion, other stuff to talk

[Pywikipedia-bugs] [Maniphest] [Commented On] T223820: Properly implement structured data access on Commons in Pywikibot

2019-06-29 Thread Multichill
Multichill added a comment. Maybe make this one an epic or tracker task so we can group things under it? - Revision to -> multi content revision - FilePage -> Mediainfo enabled filepage - Site -> federated mediainfo enabled site etc. TASK DETAI

[Pywikipedia-bugs] [Maniphest] [Commented On] T226507: Port pywikibot-core to new pywikibot IV repository (tracking)

2019-06-25 Thread Multichill
Multichill added a comment. In T226507#5284014 <https://phabricator.wikimedia.org/T226507#5284014>, @valhallasw wrote: > In T226507#5283832 <https://phabricator.wikimedia.org/T226507#5283832>, @Dvorapa wrote: > > > @valhallasw We are trying to break a

[Pywikipedia-bugs] [Maniphest] [Closed] T223796: Add some first statements to files on Commons using Pywikibot

2019-06-01 Thread Multichill
Multichill closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T223796 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Multichill Cc: Chicocvenancio, Aklapper, pywikibot-bugs-list, SandraF_WMF, Multichill, dar

[Pywikipedia-bugs] [Maniphest] [Closed] T223746: Import POTD descriptions on Commons to captions

2019-06-01 Thread Multichill
Multichill closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T223746 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Multichill Cc: schoenbaechler, Fuzheado, SandraF_WMF, Aklapper, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Updated] T221801: Pywikibot meetup (usage and/or development workshop, issues and future discussion, other stuff to talk about)

2019-05-19 Thread Multichill
Multichill added a comment. @Dvorapa : Etherpads are far from permanent. When you're done, you should put the contents in this ticket, see for example T216260 <https://phabricator.wikimedia.org/T216260> TASK DETAIL https://phabricator.wikimedia.org/T221801 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Edited] T223826: Create archive procedure for scripts

2019-05-19 Thread Multichill
Multichill updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T223826 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Multichill Cc: JJMC89, Xqt, Aklapper, pywikibot-bugs-list, Multichill, Dvorapa, Viztor, DannyS712, Wenyi

[Pywikipedia-bugs] [Maniphest] [Edited] T223826: Create archive procedure for scripts

2019-05-19 Thread Multichill
Multichill updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T223826 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Multichill Cc: JJMC89, Xqt, Aklapper, pywikibot-bugs-list, Multichill, Dvorapa, Viztor, DannyS712, Wenyi

[Pywikipedia-bugs] [Maniphest] [Created] T223820: Properly implement structured data access on Commons in Pywikibot

2019-05-19 Thread Multichill
Multichill created this task. Multichill added projects: Pywikibot-Commons, Pywikibot-Wikidata, Pywikibot, StructuredDataOnCommons, Commons. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION In T223746 <https://phabricator.wikimedia.org/T223

[Pywikipedia-bugs] [Maniphest] [Commented On] T223746: Import POTD descriptions on Commons to captions

2019-05-19 Thread Multichill
Multichill added a comment. https://commons.wikimedia.org/w/api.php?action=wbgetentities=json=M7902 TASK DETAIL https://phabricator.wikimedia.org/T223746 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Multichill Cc: SandraF_WMF, Aklapper

[Pywikipedia-bugs] [Maniphest] [Commented On] T223796: Add some first statements to files on Commons using Pywikibot

2019-05-19 Thread Multichill
Multichill added a comment. Also did one for another property, https://github.com/multichill/toollabs/blob/master/bot/commons/digital_representation_paintings.py https://commons.wikimedia.org/w/index.php?title=File:Christoph_Unterberger_-_Der_heilige_Johannes_von_Nepomuk_empf%C3

[Pywikipedia-bugs] [Maniphest] [Commented On] T223796: Add some first statements to files on Commons using Pywikibot

2019-05-19 Thread Multichill
Multichill added a comment. https://commons.wikimedia.org/w/index.php?title=File:European_Common_Frog_Rana_temporaria.jpg=prev=351072054 https://github.com/multichill/toollabs/blob/master/bot/commons/depicts_species.py TASK DETAIL https://phabricator.wikimedia.org/T223796 EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T223746: Import POTD descriptions on Commons to captions

2019-05-19 Thread Multichill
Multichill added a comment. https://github.com/multichill/toollabs/blob/master/bot/commons/potd_to_caption.py TASK DETAIL https://phabricator.wikimedia.org/T223746 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Multichill Cc: SandraF_WMF

[Pywikipedia-bugs] [Maniphest] [Created] T223796: Add some first statements to files on Commons using Pywikibot

2019-05-19 Thread Multichill
Multichill created this task. Multichill added projects: Commons, StructuredDataOnCommons, Pywikibot, Wikimedia-Hackathon-2019. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Make a proof of concept for importing statements using a bot. TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Created] T223746: Import POTD descriptions on Commons to captions

2019-05-18 Thread Multichill
Multichill created this task. Multichill added projects: Commons, StructuredDataOnCommons, Pywikibot, Wikimedia-Hackathon-2019. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION We have over 5500 POTD's over the years, see https://commons.wikimedia.org

[Pywikipedia-bugs] [Maniphest] [Commented On] T223746: Import POTD descriptions on Commons to captions

2019-05-18 Thread Multichill
Multichill added a comment. Got first very rough version working, see https://commons.wikimedia.org/w/index.php?title=File%3AVanGogh-Irises_3.jpg=revision=351005775=188104223 TASK DETAIL https://phabricator.wikimedia.org/T223746 EMAIL PREFERENCES https://phabricator.wikimedia.org

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T221801: Pywikibot usage and/or development workshop

2019-05-01 Thread Multichill
Multichill added subscribers: Ladsgroup, valhallasw. Multichill added a comment. I will be at the Prague hackathon and I'm quite sure @Ladsgroup too. Not sure if @valhallasw is coming this year. At minimum we should do a meet up with people interested in Pywikibot. TASK DETAIL https

[Pywikipedia-bugs] [Maniphest] [Commented On] T112156: WbQuantity should require an explicit error margin

2019-04-11 Thread Multichill
Multichill added a comment. Why was this task re-opened? What is the goal? Please update the task to make it clear what needs to be done or just close it again as invalid. TASK DETAIL https://phabricator.wikimedia.org/T112156 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings

[Pywikipedia-bugs] [Maniphest] [Created] T219891: Check Pywikibot for new Wikibase empty container format

2019-04-02 Thread Multichill
Multichill created this task. Multichill added projects: Pywikibot-Wikidata, Wikidata, Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION The output format in the Wikibase api will change for empty containers, see T138104 <ht

[Pywikipedia-bugs] [Maniphest] [Commented On] T210606: retry-after value retrieved from http header looks wrong

2018-11-28 Thread Multichill
Multichill added a comment. I wonder if @Anomie has any input on this.TASK DETAILhttps://phabricator.wikimedia.org/T210606EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MultichillCc: gerritbot, Aklapper, pywikibot-bugs-list, Anomie, Multichill, valhallasw

[Pywikipedia-bugs] [Maniphest] [Created] T210657: Handle different Action API uncaught exception error codes in Pywikibot

2018-11-28 Thread Multichill
Multichill created this task.Multichill added a project: Pywikibot.Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONIn https://lists.wikimedia.org/pipermail/mediawiki-api-announce/2018-November/000143.html @Anomie announced a change in the way the error

[Pywikipedia-bugs] [Maniphest] [Commented On] T151351: Fresh clone of pywikibot from gerrit fails with error: RPC failed; result=56, HTTP code = 200 on Toollabs (NFS)

2018-11-10 Thread Multichill
Multichill added a comment. In T151351#4735577, @Paladox wrote: I don't think so? Closing as declined as it seems to have resolved it's self (no progress in a year and a bit) You used the wrong closing code. Declined is for requests that we're not going to implement. In this case it seems

[Pywikipedia-bugs] [Maniphest] [Changed Status] T151351: Fresh clone of pywikibot from gerrit fails with error: RPC failed; result=56, HTTP code = 200 on Toollabs (NFS)

2018-11-10 Thread Multichill
Multichill changed the task status from "Declined" to "Resolved".Multichill removed a project: Toolforge. TASK DETAILhttps://phabricator.wikimedia.org/T151351EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MultichillCc: Dvorapa, demon,

[Pywikipedia-bugs] [Maniphest] [Commented On] T208292: imagecopy fails for a given sample

2018-10-30 Thread Multichill
Multichill added a comment. In T208292#4705393, @Xqt wrote: Hm, this script never worked. Do we need it ;) It worked, but someone broke it. Tons of things have changed in the library part, but I don't think impact on the scripts that are using it is noticed enough.TASK DETAILhttps

[Pywikipedia-bugs] [Maniphest] [Created] T207582: templatesWithParams() doesn't seem to get all templates in Hebrew

2018-10-21 Thread Multichill
Multichill created this task.Multichill added a project: Pywikibot.Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONI'm using templatesWithParams() in Pywikibot to extract some data from https://he.wikipedia.org/wiki/%D7%95%D7%99%D7%A7%D7%99%D7%A4%D7%93%D7

[Pywikipedia-bugs] [Maniphest] [Commented On] T205155: unconnected_pages generator doesn't seem to return all pages

2018-09-23 Thread Multichill
Multichill added a comment. If all the generators listed on https://www.mediawiki.org/wiki/API:Querypage follow the same logic in Pywikibot as the unconnected pages one, than probably all of them have the same issue. Maybe make a new subclass QueryPageGenerator that wraps around https

[Pywikipedia-bugs] [Maniphest] [Triaged] T203471: Drop support for Python 2.7.6 and lower

2018-09-04 Thread Multichill
Multichill triaged this task as "Lowest" priority. TASK DETAILhttps://phabricator.wikimedia.org/T203471EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MultichillCc: JeanFred, Xqt, Dalba, pywikibot-bugs-list, Aklapper, MarcoAurelio, gerritbot,

[Pywikipedia-bugs] [Maniphest] [Commented On] T203471: Drop support for Python 2.7.6 and lower

2018-09-04 Thread Multichill
Multichill added a comment. I checked several systems and both run 2.7.6. . This task is way too soon. Come back in a couple of years. You're going way too fast on this dropping campaign.TASK DETAILhttps://phabricator.wikimedia.org/T203471EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings

[Pywikipedia-bugs] [Maniphest] [Commented On] T60973: Implement globalusage in site

2018-09-03 Thread Multichill
Multichill added a comment. https://gerrit.wikimedia.org/r/#/c/pywikibot/core/+/371659/6/pywikibot/site.py sure looks like it. Good to see it implemented!TASK DETAILhttps://phabricator.wikimedia.org/T60973EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences

[Pywikipedia-bugs] [Maniphest] [Edited] T192912: Unexpected ratelimit makes Pywikibot crash

2018-09-02 Thread Multichill
Multichill updated the task description. (Show Details) CHANGES TO TASK DESCRIPTIONDue to the hack done in T184948 Pywikibot now crashesd with this nice errorSame hack also broke massmessage, see T192690. The hack was removed so the chance of someone running into this is much lower

[Pywikipedia-bugs] [Maniphest] [Lowered Priority] T192912: Unexpected ratelimit makes Pywikibot crash

2018-09-02 Thread Multichill
Multichill lowered the priority of this task from "High" to "Low".Multichill added a comment. In T192912#4551136, @Framawiki wrote: @Multichill is the error still given ? I've read somewhere that this hacky limitation was removed from wd.org Yes and no. The ratelimit was r

[Pywikipedia-bugs] [Maniphest] [Commented On] T194950: Include Wikibase dispatch lag in API "maxlag" enforcing

2018-07-12 Thread Multichill
Multichill added a comment. In T194950#4420642, @Addshore wrote: There are still some bots and tools that are not setting appropriate maxlag values for their requests but we can follow up elsewhere with that. Please list them on https://www.wikidata.org/wiki/Wikidata:Administrators

[Pywikipedia-bugs] [Maniphest] [Commented On] T198849: Argument processing chokes on python 2 when an argument contains non-ascii

2018-07-05 Thread Multichill
Multichill added a comment. Looks like @Dalba introduced it in https://gerrit.wikimedia.org/r/#/c/pywikibot/core/+/440096/TASK DETAILhttps://phabricator.wikimedia.org/T198849EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: zhuyifei1999, MultichillCc: gerritbot

[Pywikipedia-bugs] [Maniphest] [Created] T198839: Update Pywikibot class WikidataBot to include Wikimedia import URL (P4656)

2018-07-05 Thread Multichill
Multichill created this task.Multichill added projects: Pywikibot-core, Pywikibot-Wikidata, Wikidata.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONTo improve the traceability of data imported from Wikimedia projects Wikimedia import URL (https://www.wikidata.org/wiki

[Pywikipedia-bugs] [Maniphest] [Updated] T194950: Include Wikibase dispatch lag in API "maxlag" enforcing

2018-06-29 Thread Multichill
Multichill added a project: Pywikibot-Wikidata.Herald added a subscriber: pywikibot-bugs-list. TASK DETAILhttps://phabricator.wikimedia.org/T194950EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Ladsgroup, MultichillCc: pywikibot-bugs-list, ValterVB

[Pywikipedia-bugs] [Maniphest] [Updated] T196619: newitem.py ignores -namespace: parameter

2018-06-29 Thread Multichill
Multichill added a comment. Thanks for fixing this guys. As an afterburner I found in T173293 that the API does filter by namespace, but isn't really supposed to do that. See example ...TASK DETAILhttps://phabricator.wikimedia.org/T196619EMAIL PREFERENCEShttps://phabricator.wikimedia.org

[Pywikipedia-bugs] [Maniphest] [Commented On] T196619: newitem.py ignores -namespace: parameter

2018-06-28 Thread Multichill
Multichill added a comment. @Xqt : Why are you deprecating perfectly valid generators? Buh, simple revert and rebase doesn't work.TASK DETAILhttps://phabricator.wikimedia.org/T196619EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MultichillCc: Multichill

[Pywikipedia-bugs] [Maniphest] [Commented On] T57654: Recursive clone over ssh uses https for submodules

2018-05-11 Thread Multichill
Multichill added a comment. I cloned Pywikibot using $ git clone --recursive ssh://multich...@gerrit.wikimedia.org:29418/pywikibot/core.git pywikibot :~/pywikibot$ cat .gitmodules [submodule "i18n"] path = scripts/i18n url = "" href="https://gerrit.wikimedia.or

[Pywikipedia-bugs] [Maniphest] [Triaged] T192912: Unexpected ratelimit makes Pywikibot crash

2018-04-24 Thread Multichill
Multichill triaged this task as "High" priority. TASK DETAILhttps://phabricator.wikimedia.org/T192912EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MultichillCc: Aklapper, pywikibot-bugs-list, Legoktm, Ladsgroup, Lydia_Pintscher, Multichill,

[Pywikipedia-bugs] [Maniphest] [Created] T192912: Unexpected ratelimit makes Pywikibot crash

2018-04-24 Thread Multichill
Multichill created this task.Multichill added projects: Wikidata, Pywikibot-Wikidata.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONDue to the hack done in T184948 Pywikibot now crashes with this nice error. pywikibot.data.api.APIError: failed-save: The save has failed

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T192732: Rename pywikipedia to pywikibot on Toolforge

2018-04-23 Thread Multichill
Multichill added subscribers: valhallasw, Multichill.Multichill added a comment. I don't agree on renaming, that would break it for the users who use it. It's just a bunch of symlinks to /data/project/pywikibot/ anyway. What I would propose: Change owner to tools.pywikibot for /shared

[Pywikipedia-bugs] [Maniphest] [Blocker] T191113: checkimages.py hangs when putting a file page

2018-04-12 Thread Multichill
Multichill changed the status of subtask T191192: Drop support for python 2.7.2 and 2.7.3 from "Open" to "Stalled". TASK DETAILhttps://phabricator.wikimedia.org/T191113EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MultichillCc: gerri

[Pywikipedia-bugs] [Maniphest] [Changed Status] T191192: Drop support for python 2.7.2 and 2.7.3

2018-04-12 Thread Multichill
Multichill changed the task status from "Open" to "Stalled".Multichill added a comment. As in T154771 , we should wait a while before actually dropping it. Somewhere in the range 9-12 months is reasonable. Putting the task on stalled in the meantime.TASK DETAILhttps://phabr

[Pywikipedia-bugs] [Maniphest] [Commented On] T183085: [RfC] Drop compat module

2017-12-24 Thread Multichill
Multichill added a comment. Gain: Some code clean up Pain: A lot of our long time users will have broken scrips they have to update If I look at it like that, it's not worth it. Please explain why this is needed now.TASK DETAILhttps://phabricator.wikimedia.org/T183085EMAIL PREFERENCEShttps

  1   2   3   >