Page MenuHomePhabricator
Feed Advanced Search

Jun 2 2023

TheSandDoctor closed T217099: Restore usage of 'local wiki' field as Resolved.

Thank you for doing this, @Zabe !

Jun 2 2023, 7:40 PM · MW-1.39-notes (1.39.0-wmf.12; 2022-05-16), User-TheSandDoctor, GlobalRename, MediaWiki-extensions-CentralAuth
TheSandDoctor moved T217099: Restore usage of 'local wiki' field from Backlog to merged/done on the User-TheSandDoctor board.
Jun 2 2023, 7:37 PM · MW-1.39-notes (1.39.0-wmf.12; 2022-05-16), User-TheSandDoctor, GlobalRename, MediaWiki-extensions-CentralAuth
TheSandDoctor added a comment to T247095: Is it possible to download smaller than full res image using Pywikibot?.

Thank you @Xqt ! I'd admittedly forgotten about this request but am glad that the feature has been added.

Jun 2 2023, 7:33 PM · Pywikibot-Commons, Pywikibot

Dec 19 2021

TheSandDoctor added a comment to T295238: Upgrade pywikibot to latest version.

I was wondering why all my scripts are failing and thought I was going crazy. Glad it isn't just me.

Dec 19 2021, 6:28 PM · Wiki-Loves-Monuments-Database

Dec 3 2021

TheSandDoctor awarded T284642: Add yellow talk page message banner to non-main namespace pages on mobile a Love token.
Dec 3 2021, 7:20 PM · User-notice-archive, Patch-For-Review, MW-1.38-notes (1.38.0-wmf.7; 2021-11-02), MobileFrontend, MinervaNeue, Web-Team-Backlog (Kanbanana-FY-2021-22)

Nov 3 2021

TheSandDoctor added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

@zhuyifei1999 any word?

Nov 3 2021, 6:42 PM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
TheSandDoctor added a comment to T241572: Replace $wgParser in IndexFunction.

@Kizule @Aklapper My apologies for the delay. I noted it as stalled because the extension isn't maintained and it is thus "stalled" getting it merged. It doesn't appear that the maintainer of that project is on here.

Nov 3 2021, 6:36 PM · MediaWiki-extensions-IndexFunction, User-TheSandDoctor
TheSandDoctor placed T90167: Drop "internal id" field, use global ID instead. up for grabs.
Nov 3 2021, 6:33 PM · Patch-Needs-Improvement, Platform Engineering (Icebox), User-TheSandDoctor, Technical-Debt, MediaWiki-Site-system

May 30 2021

TheSandDoctor awarded T283980: Phacility (Maintainer of Phabricator) is winding down. Upstream support ending. a Heartbreak token.
May 30 2021, 4:46 AM · Release-Engineering-Team (Seen), User-Matthewrbowker, Phabricator

Apr 28 2021

TheSandDoctor awarded T279505: Read only time window needed for s1 (enwiki) a Cookie token.
Apr 28 2021, 2:16 PM · MoveComms-Support (Apr-Jun-2021)

Apr 17 2021

TheSandDoctor added a comment to T85656: Pywikibot to detect and correctly handle edits that trigger abusefilter rules.

This seems to have stalled. It is currently an issue I am running into as well that is preventing my bot from doing its job on commons. It seems convinced that every file is a gallery when it isn't.

Apr 17 2021, 4:41 PM · Outreachy (Round-13), AbuseFilter, Contributors-Team, Pywikibot
TheSandDoctor added a comment to T276024: Half of Panoramio imports never got their User ID category.

@Jidanni What needs to be added to resolve this? Just == {{int:filedesc}} == or is there more needed?

Apr 17 2021, 5:11 AM · Commons

Apr 9 2021

TheSandDoctor added a comment to T279246: Request creation of commons-corruption-checker VPS project (2).

@Bstorm would it be something that could be easily attached or would that require the instance recreated? If the latter, we should probably do now. If it can be added seamlessly, then later is fine. Just wondering...if later, I’d just file a ticket here requesting or?

Apr 9 2021, 1:53 AM · cloud-services-team (Kanban), Cloud-VPS (Project-requests)

Apr 6 2021

TheSandDoctor added a comment to T279246: Request creation of commons-corruption-checker VPS project (2).

@Bstorm both. Re storage space: potentially yes, but only for the odd edge case if it runs across a gigapixel image (also why Pillow is forked to add handling for niche use case). Being space conscious, each worker only downloads/works with one file at a time and deletes the temp copy once done. I tend to run variable numbers of workers depending on the work load.

Apr 6 2021, 9:48 PM · cloud-services-team (Kanban), Cloud-VPS (Project-requests)

Apr 5 2021

Coffee awarded T279246: Request creation of commons-corruption-checker VPS project (2) a Cup of Joe token.
Apr 5 2021, 1:04 AM · cloud-services-team (Kanban), Cloud-VPS (Project-requests)

Apr 4 2021

TheSandDoctor renamed T279246: Request creation of commons-corruption-checker VPS project (2) from Request creation of commons-corruption-checker VPS project to Request creation of commons-corruption-checker VPS project (2).
Apr 4 2021, 6:03 AM · cloud-services-team (Kanban), Cloud-VPS (Project-requests)
TheSandDoctor renamed T279246: Request creation of commons-corruption-checker VPS project (2) from Request creation of <PROJECT-NAME> VPS project to Request creation of commons-corruption-checker VPS project.
Apr 4 2021, 6:03 AM · cloud-services-team (Kanban), Cloud-VPS (Project-requests)
TheSandDoctor created T279246: Request creation of commons-corruption-checker VPS project (2).
Apr 4 2021, 6:02 AM · cloud-services-team (Kanban), Cloud-VPS (Project-requests)

Sep 13 2020

TheSandDoctor added a comment to T217099: Restore usage of 'local wiki' field.

I agree with @MarcoAurelio that it would be useful to have implemented, @Legoktm .

Sep 13 2020, 3:11 AM · MW-1.39-notes (1.39.0-wmf.12; 2022-05-16), User-TheSandDoctor, GlobalRename, MediaWiki-extensions-CentralAuth
TheSandDoctor added a comment to T160811: Deprecate and remove $wgParser.

@Legoktm since it is hard deprecated, shouldn't it be removed from tests/phpunit/MediaWikiIntegrationTestCase.php in core?

Sep 13 2020, 3:05 AM · MW-1.39-notes (1.39.0-wmf.25; 2022-08-15), MW-1.35-notes (1.35.0-wmf.31; 2020-05-05), User-TheSandDoctor, Parsing-Team--ARCHIVED, MediaWiki-Parser, Technical-Debt (Deprecation process)
TheSandDoctor closed T241556: Replace $wgParser in SemanticFormsSelect as Invalid.

Since this is the wrong venue. Thanks @Aklapper for pointing this out and @cscott for filing over there.

Sep 13 2020, 3:02 AM · MediaWiki-extensions-Other, User-TheSandDoctor
TheSandDoctor closed T241556: Replace $wgParser in SemanticFormsSelect, a subtask of T160811: Deprecate and remove $wgParser, as Invalid.
Sep 13 2020, 3:02 AM · MW-1.39-notes (1.39.0-wmf.25; 2022-08-15), MW-1.35-notes (1.35.0-wmf.31; 2020-05-05), User-TheSandDoctor, Parsing-Team--ARCHIVED, MediaWiki-Parser, Technical-Debt (Deprecation process)
TheSandDoctor raised the priority of T241572: Replace $wgParser in IndexFunction from Lowest to Medium.
Sep 13 2020, 3:00 AM · MediaWiki-extensions-IndexFunction, User-TheSandDoctor
TheSandDoctor changed the status of T241572: Replace $wgParser in IndexFunction from Open to Stalled.
Sep 13 2020, 3:00 AM · MediaWiki-extensions-IndexFunction, User-TheSandDoctor
TheSandDoctor changed the status of T241572: Replace $wgParser in IndexFunction, a subtask of T160811: Deprecate and remove $wgParser, from Open to Stalled.
Sep 13 2020, 3:00 AM · MW-1.39-notes (1.39.0-wmf.25; 2022-08-15), MW-1.35-notes (1.35.0-wmf.31; 2020-05-05), User-TheSandDoctor, Parsing-Team--ARCHIVED, MediaWiki-Parser, Technical-Debt (Deprecation process)
TheSandDoctor added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

Thanks @zhuyifei1999 ! Have you been able to work on this any?

Sep 13 2020, 2:42 AM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py

Apr 25 2020

TheSandDoctor added a comment to T247206: Commons-Corruption-Checker instance size increase request.

@Aklapper @Krenair do either of you know if this could be done? I would still like to resize my instance as redoing everything would be a real pain/time consuming.

Apr 25 2020, 4:18 AM · Cloud-VPS (Quota-requests), User-TheSandDoctor
TheSandDoctor closed T233442: Remove use of deprecated 'editToken' in mw.user.tokens (replace with 'csrfToken') as Resolved.

AND it looks like this task can finally be closed :)

Apr 25 2020, 4:15 AM · Performance-Team (Radar), Technical-Debt, MediaWiki-extensions-General, User-TheSandDoctor
TheSandDoctor closed T233545: TinyMCE needs 'editToken' replaced with 'csrfToken', a subtask of T233442: Remove use of deprecated 'editToken' in mw.user.tokens (replace with 'csrfToken'), as Resolved.
Apr 25 2020, 4:14 AM · Performance-Team (Radar), Technical-Debt, MediaWiki-extensions-General, User-TheSandDoctor
TheSandDoctor closed T233545: TinyMCE needs 'editToken' replaced with 'csrfToken' as Resolved.

Thanks for merging this @Aklapper !

Apr 25 2020, 4:14 AM · User-TheSandDoctor, MediaWiki-extensions-TinyMCE
TheSandDoctor changed the status of T241566: Replace $wgParser in TinyMCE, a subtask of T160811: Deprecate and remove $wgParser, from Open to Stalled.
Apr 25 2020, 4:12 AM · MW-1.39-notes (1.39.0-wmf.25; 2022-08-15), MW-1.35-notes (1.35.0-wmf.31; 2020-05-05), User-TheSandDoctor, Parsing-Team--ARCHIVED, MediaWiki-Parser, Technical-Debt (Deprecation process)
TheSandDoctor changed the status of T241566: Replace $wgParser in TinyMCE from Open to Stalled.
Apr 25 2020, 4:12 AM · MediaWiki-extensions-TinyMCE, User-TheSandDoctor
TheSandDoctor added a comment to T241566: Replace $wgParser in TinyMCE.

@Yaron_Koren could you please take a look at this? Thanks!

Apr 25 2020, 4:12 AM · MediaWiki-extensions-TinyMCE, User-TheSandDoctor
TheSandDoctor raised the priority of T241558: Replace $wgParser in DebugTemplates from Low to High.
Apr 25 2020, 4:10 AM · MediaWiki-extensions-Other, User-TheSandDoctor
TheSandDoctor raised the priority of T241570: Replace $wgParser in FixedHeaderTable from Lowest to High.
Apr 25 2020, 4:10 AM · MediaWiki-extensions-Other, User-TheSandDoctor
TheSandDoctor moved T241570: Replace $wgParser in FixedHeaderTable from Backlog to git review pending on the User-TheSandDoctor board.

Thanks again for the ping @Aklapper

Apr 25 2020, 4:10 AM · MediaWiki-extensions-Other, User-TheSandDoctor
TheSandDoctor updated the task description for T241570: Replace $wgParser in FixedHeaderTable.
Apr 25 2020, 4:06 AM · MediaWiki-extensions-Other, User-TheSandDoctor
TheSandDoctor updated subscribers of T241558: Replace $wgParser in DebugTemplates.

@Clump could you please take a look at this? Thanks!

Apr 25 2020, 4:05 AM · MediaWiki-extensions-Other, User-TheSandDoctor
TheSandDoctor moved T241558: Replace $wgParser in DebugTemplates from Backlog to git review pending on the User-TheSandDoctor board.

@Aklapper thanks for the ping. Committed :)

Apr 25 2020, 3:52 AM · MediaWiki-extensions-Other, User-TheSandDoctor
TheSandDoctor updated the task description for T241558: Replace $wgParser in DebugTemplates.
Apr 25 2020, 1:14 AM · MediaWiki-extensions-Other, User-TheSandDoctor
TheSandDoctor closed T241571: Replace $wgParser in FormelApplet, a subtask of T160811: Deprecate and remove $wgParser, as Invalid.
Apr 25 2020, 1:13 AM · MW-1.39-notes (1.39.0-wmf.25; 2022-08-15), MW-1.35-notes (1.35.0-wmf.31; 2020-05-05), User-TheSandDoctor, Parsing-Team--ARCHIVED, MediaWiki-Parser, Technical-Debt (Deprecation process)
TheSandDoctor closed T241571: Replace $wgParser in FormelApplet as Invalid.

Thanks for the prod @Aklapper . For this one it appears like it has since been resolved by someone else.

Apr 25 2020, 1:13 AM · MediaWiki-extensions-Other, User-TheSandDoctor

Apr 10 2020

TheSandDoctor closed T249898: Unable to make AWB mark edit as bot edit as Resolved.

It took several hours (didn't immediately report this), but it just decided to work. Bizarre.

Apr 10 2020, 5:12 AM · AutoWikiBrowser
TheSandDoctor updated the task description for T249898: Unable to make AWB mark edit as bot edit.
Apr 10 2020, 4:59 AM · AutoWikiBrowser
TheSandDoctor renamed T249898: Unable to make AWB mark edit as bot edit from Unable to make AWB perform edit as bot to Unable to make AWB mark edit as bot edit.
Apr 10 2020, 4:50 AM · AutoWikiBrowser
TheSandDoctor created T249898: Unable to make AWB mark edit as bot edit.
Apr 10 2020, 4:43 AM · AutoWikiBrowser

Apr 7 2020

TheSandDoctor added a comment to T249483: Pointless fixing of lint filters in discussion pages, especially discussion archives.

There is currently an ongoing discussion very closely relating to this on Meta that appears to be garnering consensus in the other direction/against this ticket/proposal.

Apr 7 2020, 10:10 PM · MediaWiki-extensions-Linter

Apr 4 2020

TheSandDoctor added a comment to T249392: Pywikibot add is_locked() function.

The "vanilla" requests code that would accomplish this (using the same format as API:Users) is:

Apr 4 2020, 12:53 AM · Pywikibot
TheSandDoctor moved T249392: Pywikibot add is_locked() function from Feature requests to Backlog on the MediaWiki-extensions-CentralAuth board.
Apr 4 2020, 12:39 AM · Pywikibot
TheSandDoctor moved T249392: Pywikibot add is_locked() function from Backlog to Feature requests on the MediaWiki-extensions-CentralAuth board.
Apr 4 2020, 12:39 AM · Pywikibot
TheSandDoctor added a project to T249392: Pywikibot add is_locked() function: MediaWiki-extensions-CentralAuth.
Apr 4 2020, 12:38 AM · Pywikibot
TheSandDoctor placed T249392: Pywikibot add is_locked() function up for grabs.
Apr 4 2020, 12:33 AM · Pywikibot
TheSandDoctor claimed T249392: Pywikibot add is_locked() function.
Apr 4 2020, 12:25 AM · Pywikibot
TheSandDoctor changed the subtype of T249392: Pywikibot add is_locked() function from "Task" to "Feature Request".
Apr 4 2020, 12:08 AM · Pywikibot
TheSandDoctor created T249392: Pywikibot add is_locked() function.
Apr 4 2020, 12:08 AM · Pywikibot

Mar 15 2020

TheSandDoctor created T247718: Update Manual:Pywikibot/login.py to remove use of sysopnames.
Mar 15 2020, 11:38 PM · Pywikibot-Documentation, Pywikibot

Mar 12 2020

TheSandDoctor awarded T238658: Migrate EventStreams to k8s deployment pipeline a Cookie token.
Mar 12 2020, 1:56 PM · Analytics-Kanban, Analytics, Patch-For-Review, Release-Engineering-Team (Pipeline), Services (watching), Release Pipeline
TheSandDoctor added a comment to T247447: Pywikibot eventstreams.py 504 Server Error: Gateway Timeout.

I am using the latest sseclient. I assume that it isn't "real" as event streams shouldn't be 504ing constantly? That wouldn't make sense & would mean that recent changes should be broken etc? This script is connecting to it through pywikibot's. site_rc_listener().

Mar 12 2020, 5:10 AM · EventStreams, Upstream, Pywikibot

Mar 11 2020

TheSandDoctor added a comment to T247447: Pywikibot eventstreams.py 504 Server Error: Gateway Timeout.

This is happening only a few seconds after I start the script.

Mar 11 2020, 10:02 PM · EventStreams, Upstream, Pywikibot
TheSandDoctor updated subscribers of T247447: Pywikibot eventstreams.py 504 Server Error: Gateway Timeout.
Mar 11 2020, 7:52 PM · EventStreams, Upstream, Pywikibot
TheSandDoctor created T247447: Pywikibot eventstreams.py 504 Server Error: Gateway Timeout.
Mar 11 2020, 7:48 PM · EventStreams, Upstream, Pywikibot
TheSandDoctor closed T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER' as Resolved.

Going to resolve this then, given that it appears unavoidable. At least now that it throws an exception, it can be handled (ie skip to the next item in the queue).

Mar 11 2020, 7:45 PM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py

Mar 8 2020

TheSandDoctor created T247206: Commons-Corruption-Checker instance size increase request.
Mar 8 2020, 5:49 PM · Cloud-VPS (Quota-requests), User-TheSandDoctor

Mar 6 2020

TheSandDoctor updated the task description for T247095: Is it possible to download smaller than full res image using Pywikibot?.
Mar 6 2020, 4:36 PM · Pywikibot-Commons, Pywikibot
TheSandDoctor updated the task description for T247095: Is it possible to download smaller than full res image using Pywikibot?.
Mar 6 2020, 4:36 PM · Pywikibot-Commons, Pywikibot
TheSandDoctor created T247095: Is it possible to download smaller than full res image using Pywikibot?.
Mar 6 2020, 4:36 PM · Pywikibot-Commons, Pywikibot

Mar 5 2020

Restricted Application added a project to T89971: ApiQueryImageInfo is crufty, needs rewrite: Platform Engineering.
Mar 5 2020, 8:12 PM · Platform Engineering Roadmap Decision Making, Developer-Wishlist (2017), Technical-Debt, MediaWiki-Action-API

Mar 2 2020

TheSandDoctor added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

I just discovered that rcwatcher.py crashed at some point within the past couple of days. Interesting.

Traceback (most recent call last):
  File "rcwatcher.py", line 65, in <module>
    main()
  File "rcwatcher.py", line 57, in main
    run_watcher()
  File "rcwatcher.py", line 41, in run_watcher
    for change in rc:
  File "/usr/local/lib/python3.8/site-packages/pywikibot/comms/eventstreams.py", line 291, in __iter__
    self.source = EventSource(**self.sse_kwargs)
  File "/home/thesanddoctor/sseclient/sseclient.py", line 48, in __init__
    self._connect()
  File "/home/thesanddoctor/sseclient/sseclient.py", line 63, in _connect
    self.resp.raise_for_status()
  File "/home/ccc/.local/lib/python3.8/site-packages/requests/models.py", line 941, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 429 Client Error: Too Many Requests for url: https://stream.wikimedia.org/v2/stream/recentchange
Mar 2 2020, 6:57 AM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py

Feb 28 2020

TheSandDoctor added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

Whichever is simplest.

Feb 28 2020, 9:32 PM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
TheSandDoctor added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

I will be running the script with pdb + save all sseclient trace over the weekend.

Feb 28 2020, 8:10 PM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
TheSandDoctor added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

@Dvorapa I saw that myself & just updated my above comment prior to seeing your response. It appears to have slipped through; I will have to add a catch for that. Others still relevant though.

Feb 28 2020, 7:17 PM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
TheSandDoctor added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

Since updating to the latest master version of sseclient (post-fix merges) more of the workers crashed than usual (4 of the 5). 3 of the 4 crashes were due to the same issue.

Feb 28 2020, 7:07 PM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py

Feb 26 2020

TheSandDoctor added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

@zhuyifei1999 requests has been updated & the workers/feeder all restarted. I have re-started test_rc.py and will post back here if anything crashes. If it is good in a few days/week or something like that I think we could consider this resolved. Thanks for your help so far!

Feb 26 2020, 5:24 AM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py

Feb 25 2020

TheSandDoctor added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

@zhuyifei1999 Yes, first and third are two separate customers. The first and second are working with the same customer. The third (code) is just a plain/direct printing of the file name straight from recent changes listener and trying to turn it into a file page (until it fails).

Feb 25 2020, 10:04 PM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
TheSandDoctor added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

@zhuyifei1999 the first and second traceback are from "production" worker instances and pop items off of the same redis queue (all fed by a single instance of rcwatcher.py), thus they wouldn't get the same image. So it isn't feasible that they would crash all at once. They basically get images first-come, first-serve from recent changes.

Feb 25 2020, 5:23 PM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
TheSandDoctor added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.
Feb 25 2020, 3:41 PM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
TheSandDoctor added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

Also, what is the output of echo $LC_CTYPE and echo $LANG? Weird is this happens only for some letters. I can not reproduce it on my machine. If you use Pywikibot packaged with scripts, could you share the output of python pwb.py version? And what is your version of requests and sseclient?

Feb 25 2020, 3:38 PM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
TheSandDoctor added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

@Dvorapa python 3(.8)

Feb 25 2020, 2:19 PM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
TheSandDoctor added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

@Dvorapa all encoding is set to UTF-8.

Feb 25 2020, 1:54 PM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
TheSandDoctor added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

@zhuyifei1999 For both of these worth noting that I have not updated the the latest version with the change in behaviour that this task merged.

Feb 25 2020, 6:48 AM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py

Feb 24 2020

TheSandDoctor added a comment to T241565: Replace $wgParser in SemanticDrilldown.

Thanks @Yaron_Koren !

Feb 24 2020, 7:30 PM · MediaWiki-extensions-SemanticDrilldown, User-TheSandDoctor
TheSandDoctor moved T241565: Replace $wgParser in SemanticDrilldown from Backlog to Ready To Merge on the MediaWiki-extensions-SemanticDrilldown board.
Feb 24 2020, 7:29 PM · MediaWiki-extensions-SemanticDrilldown, User-TheSandDoctor
TheSandDoctor moved T241565: Replace $wgParser in SemanticDrilldown from git review pending to merged/done on the User-TheSandDoctor board.
Feb 24 2020, 7:29 PM · MediaWiki-extensions-SemanticDrilldown, User-TheSandDoctor

Feb 23 2020

TheSandDoctor added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

@zhuyifei1999 Unknown at this point. Implemented and running alongside it now. If/when either it or the any of the 5 workers crash, will report back here.

Feb 23 2020, 7:47 AM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
TheSandDoctor added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

@zhuyifei1999 The only log currently available is as follows (and linked above):

Feb 23 2020, 2:27 AM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py

Feb 22 2020

TheSandDoctor added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

@Dvorapa Commons. The issue appears to happen at random. I have improved the ordering of my logs so next time it happens it should hopefully actually tell me the file name at issue (configured to log the file name before trying to make a FilePage object out of it, hopefully it will do that before crashing). Given that the files are only run from recent changes if they are new uploads, this isn't something easily repeatable and does appear to happen at random. I will update here when I have more logs. Thank you for your patch to make the exception catchable.

Feb 22 2020, 8:04 PM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
TheSandDoctor added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

@Dvorapa grabs the file from recent changes using site_rc_listener (script, ImageObj) and then sends it to rcworker (linked above) using redis. rcworker then creates a pwb FilePage object out of the title from the recent changes log and processes the file. site_rc_listener is what must be giving it the invalid image titles? Something just doesn't add up here for me as it doesn't make sense why the script is being given invalid image titles by pwb's site_rc_listener.

Feb 22 2020, 7:45 PM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
TheSandDoctor added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

@Dvorapa Just trying to create a file page reference given a name of a file from recent changes. Here is the error log.

Feb 22 2020, 6:33 PM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
TheSandDoctor closed T233068: Add confirmation if account creation rationale/summary is an email address to prevent accidental self-outing as Resolved.

Merged. Thanks @Tgr !

Feb 22 2020, 6:29 PM · MW-1.35-notes (1.35.0-wmf.21; 2020-02-25), Platform Team Workboards (Clinic Duty Team), User-TheSandDoctor, MediaWiki-User-login-and-signup
TheSandDoctor moved T233068: Add confirmation if account creation rationale/summary is an email address to prevent accidental self-outing from git review pending to merged/done on the User-TheSandDoctor board.
Feb 22 2020, 6:28 PM · MW-1.35-notes (1.35.0-wmf.21; 2020-02-25), Platform Team Workboards (Clinic Duty Team), User-TheSandDoctor, MediaWiki-User-login-and-signup
TheSandDoctor moved T233068: Add confirmation if account creation rationale/summary is an email address to prevent accidental self-outing from External Code Review In Progress to Done on the Platform Team Workboards (Clinic Duty Team) board.
Feb 22 2020, 6:28 PM · MW-1.35-notes (1.35.0-wmf.21; 2020-02-25), Platform Team Workboards (Clinic Duty Team), User-TheSandDoctor, MediaWiki-User-login-and-signup
TheSandDoctor moved T233068: Add confirmation if account creation rationale/summary is an email address to prevent accidental self-outing from Needs further investigation to git review pending on the User-TheSandDoctor board.

With @Tgr 's help, a new patch set has been uploaded that is functional. Just awaiting review.

Feb 22 2020, 6:10 AM · MW-1.35-notes (1.35.0-wmf.21; 2020-02-25), Platform Team Workboards (Clinic Duty Team), User-TheSandDoctor, MediaWiki-User-login-and-signup
TheSandDoctor assigned T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER' to Dvorapa.
Feb 22 2020, 1:53 AM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
TheSandDoctor added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

@Dvorapa But what would cause it to return it then when looking at images? I am sort of confused here.

Feb 22 2020, 1:50 AM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
TheSandDoctor added a comment to T233545: TinyMCE needs 'editToken' replaced with 'csrfToken'.

@Yaron_Koren could you please take a look?

Feb 22 2020, 1:49 AM · User-TheSandDoctor, MediaWiki-extensions-TinyMCE

Feb 21 2020

TheSandDoctor added a project to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER': User-TheSandDoctor.
Feb 21 2020, 4:01 PM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
TheSandDoctor renamed T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER' from Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER' in category add to Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.
Feb 21 2020, 4:00 PM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
TheSandDoctor updated subscribers of T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

@zhuyifei1999 Do you think that such a raise could be made? The problem that I see with both handlings though is that the titles are not "invalid" as they are the valid image titles on the wiki(?). I am also having this issue when it comes to my Commons Corruption Checking task.

Feb 21 2020, 4:00 PM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
TheSandDoctor added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.
Feb 21 2020, 3:54 PM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
TheSandDoctor renamed T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER' from Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER' to Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER' in category add.
Feb 21 2020, 3:53 PM · Upstream, User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py