[go: up one dir, main page]

Page MenuHomePhabricator

Legoktm (Legoktm)
UserAdministrator

Projects (103)

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Monday

  • Clear sailing ahead.

User Details

User Since
Sep 19 2014, 7:30 PM (530 w, 16 h)
Roles
Administrator
Availability
Available
IRC Nick
legoktm
LDAP User
Legoktm
MediaWiki User
Unknown

Recent Activity

Sun, Nov 10

Legoktm closed T378908: Simple upload doesn't upload as Resolved.

I released mwapi 0.6.1 by backporting just this fix. Thanks for reporting!

Sun, Nov 10, 11:30 PM · affects-Miraheze, mwbot-rs (mwapi)
Legoktm claimed T378908: Simple upload doesn't upload.

For some reason multipart::Part::stream wasn't working, when I switch it to:

Sun, Nov 10, 10:09 PM · affects-Miraheze, mwbot-rs (mwapi)

Fri, Nov 8

Legoktm added a comment to T378908: Simple upload doesn't upload.

I spent a few minutes looking at this today, I started by getting:

Fri, Nov 8, 11:35 PM · affects-Miraheze, mwbot-rs (mwapi)

Wed, Nov 6

Legoktm added a comment to T374683: Switchover plan from RESTbase to REST Gateway for rest_v1/page/html and rest_v1/page/title endpoints.

The responses were also not returning an etag header, as previously expected.

That shouldn't have been the case... you are seeing the etags now, right?

Wed, Nov 6, 10:34 PM · MW-1.44-notes (1.44.0-wmf.4; 2024-11-19), Wikimedia-Incident, serviceops, RESTBase Sunsetting, MW-Interfaces-Team
Legoktm added a comment to T354037: rest.php/v1/transform/html/to/wikitext with if-match fails with "No stashed content found for" and HTTP 412.

A limit of 5 edits per minute is incredibly slow (considering RESTBase let us run at 200 pages per second).

Wed, Nov 6, 10:31 PM · Content-Transform-Team, MW-Interfaces-Team, RESTBase Sunsetting, MediaWiki-REST-API
Legoktm added a comment to T374683: Switchover plan from RESTbase to REST Gateway for rest_v1/page/html and rest_v1/page/title endpoints.

Bill correctly identified the root cause: the core endpoitn expects redirect=no (for consistency with index.php), while RESTbase expected redirect=false. We can just accept both, see https://gerrit.wikimedia.org/r/1087568.

Wed, Nov 6, 4:35 PM · MW-1.44-notes (1.44.0-wmf.4; 2024-11-19), Wikimedia-Incident, serviceops, RESTBase Sunsetting, MW-Interfaces-Team
Legoktm added a comment to T354037: rest.php/v1/transform/html/to/wikitext with if-match fails with "No stashed content found for" and HTTP 412.

When fetching HTML content for editing, use stash=true. That should return an ETag that can then be used with if-modified. I just tested it, it seems to work. Conversion of HTML that was fetched without stashing is unreliable, and always was. RESTbase was just more agressive about practive caching.

Wed, Nov 6, 4:29 PM · Content-Transform-Team, MW-Interfaces-Team, RESTBase Sunsetting, MediaWiki-REST-API
Legoktm added a comment to T374683: Switchover plan from RESTbase to REST Gateway for rest_v1/page/html and rest_v1/page/title endpoints.

I'll give the revert ~20 more minutes to roll out fully and report back to see if things are fixed.

Wed, Nov 6, 12:08 AM · MW-1.44-notes (1.44.0-wmf.4; 2024-11-19), Wikimedia-Incident, serviceops, RESTBase Sunsetting, MW-Interfaces-Team

Tue, Nov 5

Legoktm added a project to T374683: Switchover plan from RESTbase to REST Gateway for rest_v1/page/html and rest_v1/page/title endpoints: Wikimedia-Incident.

@Legoktm -- this was 100% an unintended breakage that we are working to resolve as we speak.

Tue, Nov 5, 11:34 PM · MW-1.44-notes (1.44.0-wmf.4; 2024-11-19), Wikimedia-Incident, serviceops, RESTBase Sunsetting, MW-Interfaces-Team
Legoktm reopened T374683: Switchover plan from RESTbase to REST Gateway for rest_v1/page/html and rest_v1/page/title endpoints as "Open".

Most of my bots and tools that used RESTBase are now broken, and I suspect this is the cause based on timing. I expect there are probably 20-25 tools that are broken, and a similar number of bots across a number of wikis.

Tue, Nov 5, 8:09 PM · MW-1.44-notes (1.44.0-wmf.4; 2024-11-19), Wikimedia-Incident, serviceops, RESTBase Sunsetting, MW-Interfaces-Team
Legoktm reopened T374683: Switchover plan from RESTbase to REST Gateway for rest_v1/page/html and rest_v1/page/title endpoints, a subtask of T373716: Reroute RESTbase Parsoid endpoints to core's REST endpoints, as Open.
Tue, Nov 5, 8:09 PM · MediaWiki-REST-API, RESTBase Sunsetting, MW-Interfaces-Team
Legoktm added a comment to T378908: Simple upload doesn't upload.

Upload does not go through, and Some("TODO".to_string()) is returned instead

Tue, Nov 5, 6:22 PM · affects-Miraheze, mwbot-rs (mwapi)

Sun, Nov 3

Legoktm closed T378437: I keep getting Toolforge messages about rustup as Resolved.

Should be fixed now, I bumped up the memory: https://wikitech.wikimedia.org/w/index.php?title=Tool%3ARustup&diff=2240867&oldid=2236350

Sun, Nov 3, 5:04 AM · Tools
Legoktm claimed T378437: I keep getting Toolforge messages about rustup.

Sorry Magnus! I thought I had fixed this but guess not.

Sun, Nov 3, 3:37 AM · Tools
Legoktm added a comment to T378882: Install mariadb-dump on Toolforge bastions.

If you use the job framework (see https://wikitech.wikimedia.org/wiki/Help:Toolforge/Jobs_framework), there's a mariadb image which contains mysqldump.

Sun, Nov 3, 2:35 AM · cloud-services-team, Toolforge
Legoktm added a comment to T378886: Make it clear when an action is allowed only by global rights.

To be clear, I'm not blaming either of you - just highlighting a process failure that should be addressed.

Sun, Nov 3, 2:30 AM · MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, MediaWiki-User-management

Fri, Oct 25

Legoktm added a comment to T343131: Commons database is growing way too fast.

The new ccorg interwiki has now been added, so I've submitted two patches:

Fri, Oct 25, 2:31 AM · MW-1.44-notes (1.44.0-wmf.3; 2024-11-12), Patch-For-Review, MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), MediaWiki-Platform-Team (Radar), Data-Persistence (work done), Commons
Legoktm added a comment to T347982: scap update-interwiki-cache is broken.

The general lack of output on the command isn't helpful either:

Fri, Oct 25, 1:51 AM · MW-1.42-notes (1.42.0-wmf.19; 2024-02-20), MediaWiki-Platform-Team (Radar), Scap
Legoktm added a comment to T378157: SUL Integration for eventyay (Wikimania virtual event platform).

our open source virtual event platform for Wikimania (eventyay.com)

Fri, Oct 25, 1:29 AM · MediaWiki-Platform-Team (Radar), SecTeam-Processed, Security

Thu, Oct 24

Legoktm added a comment to T377497: Functional replacement for importImages.php on Kubernetes.

I'm not 100% sure what the purpose of allowlisting is here.

I think the point is to allow people to upload only from sites known to have free licenses to prevent upload-by-url from being misused as a vector for copyvios.

Thu, Oct 24, 10:25 PM · serviceops, MW-on-K8s

Wed, Oct 23

Legoktm closed T376769: https://ldap.toolforge.org/ integration assumes that `cn` and `uid` are equivalent as Resolved.

The Phabricator part of this was deployed, so we should be all set here!

Wed, Oct 23, 5:03 PM · Phabricator (2024-10-22), Tool-ldap

Oct 17 2024

Legoktm closed T377409: Shut down ldap-beta tool as Resolved.
Oct 17 2024, 2:18 AM · Tool-ldap
Legoktm added a comment to P70205 explain.

with linter_cat = 25

Oct 17 2024, 12:39 AM
Legoktm created P70205 explain.
Oct 17 2024, 12:34 AM

Oct 16 2024

Legoktm added a comment to T376769: https://ldap.toolforge.org/ integration assumes that `cn` and `uid` are equivalent.

Thanks, just deployed: https://gitlab.wikimedia.org/toolforge-repos/ldap/-/commit/7b5baa2b2f25f2ba2e88070bff8319fb20a062f4

Oct 16 2024, 11:14 PM · Phabricator (2024-10-22), Tool-ldap

Oct 15 2024

Legoktm added a comment to T336978: tool-nfp should not manually concatenate SQL.

I believe I filed this ticket because certain developers were strongly pushing the use of query builders in MediaWiki, so it seemed like a good general pattern for tools too. Maybe the tool author can check in with one of those MediaWiki developers for help? :)

Oct 15 2024, 6:05 PM · Tool-nfp
Legoktm added a comment to T376769: https://ldap.toolforge.org/ integration assumes that `cn` and `uid` are equivalent.

Hmm, they’re not even 404s, but 500s for me. Both the space and the ‘ń’ seem to cause that.

Oct 15 2024, 5:48 PM · Phabricator (2024-10-22), Tool-ldap

Oct 10 2024

Legoktm added a comment to T376769: https://ldap.toolforge.org/ integration assumes that `cn` and `uid` are equivalent.

Deployed https://gitlab.wikimedia.org/toolforge-repos/ldap/-/commit/99594edfa46508acc8d3f286472e6f2dbd8c08e9

Oct 10 2024, 1:04 AM · Phabricator (2024-10-22), Tool-ldap

Oct 9 2024

Legoktm claimed T376769: https://ldap.toolforge.org/ integration assumes that `cn` and `uid` are equivalent.

Ack, thanks for the explanation. I'll create a new /cn/ route then and will send a MR to update Phabricator's links too.

Oct 9 2024, 4:57 PM · Phabricator (2024-10-22), Tool-ldap
Legoktm added a comment to T376769: https://ldap.toolforge.org/ integration assumes that `cn` and `uid` are equivalent.

This is a silly question - is it possible to register "BryanDavis" as a uid? (probably not, because it has to be lower case?)

Oct 9 2024, 4:27 AM · Phabricator (2024-10-22), Tool-ldap
Legoktm closed T362046: Indicate if account is locked as Resolved.

https://gitlab.wikimedia.org/toolforge-repos/ldap/-/commit/336f2308cc0d6bd3c2131d3b32653643d6f77c53

Oct 9 2024, 4:21 AM · Tool-ldap
Legoktm claimed T362046: Indicate if account is locked.
Oct 9 2024, 4:16 AM · Tool-ldap

Oct 8 2024

Legoktm added a comment to T376726: Hide autoblocks from the globalblocks table database dump.

@Legoktm do you still have a use case for this dump? If so, can this be resolved through doing T218592 or just using the API directly?

Oct 8 2024, 5:50 PM · Trust and Safety Product Sprint (Sprint Accordion October 28 - November 15), Data-Engineering, Temporary accounts (Blockers to minor pilot wiki deployment), Data-Platform, Trust and Safety Product Team, Dumps-Generation
Legoktm added a comment to T362046: Indicate if account is locked.

Hmm, I can't find where in LDAP that is...do you have an example account that's disabled?

Oct 8 2024, 3:47 AM · Tool-ldap
Legoktm closed T376560: Display linked SUL account as Resolved.

Deployed. Also I gave you access to the tool but also happy to review patches in the future.

Oct 8 2024, 3:34 AM · Tool-ldap

Oct 7 2024

Legoktm added a comment to T343131: Commons database is growing way too fast.

I assume that changing that target URL is not feasible for compatibility reasons. Would it be desirable to add, like, a :ccorg: interwiki that targets //creativecommons.org/$1?

Oct 7 2024, 11:49 PM · MW-1.44-notes (1.44.0-wmf.3; 2024-11-12), Patch-For-Review, MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), MediaWiki-Platform-Team (Radar), Data-Persistence (work done), Commons
Legoktm added a comment to T297995: Remove authentication from Wikimedia Commons Query Services (WCQS).
In T297995#9695199, @Sj wrote:

Usage seems surprisingly steady at 2.5-3 q/s, is there any information about how it's currently being used?

Oct 7 2024, 10:56 PM · StructuredDataOnCommons, Commons, Wikidata, Wikidata-Query-Service
Legoktm added a comment to T376564: Scribunto should provide a bulk ifexists check.

+1 to the general idea of making LinkBatch functionality available, I think there are a number of places where module authors can batch to optimize templates, just like we do in MediaWiki.

Oct 7 2024, 7:26 PM · User-notice, Patch-For-Review, Scribunto

Oct 6 2024

Legoktm added a comment to T374761: PageAssessments should specify WikiProjects as config variable.

I believe @jeremyb is going to take a shot at implementing this.

Oct 6 2024, 2:46 PM · Community-Tech, Wikimedia-CentralNotice-Administration, WikiProject-tools, MediaWiki-extensions-PageAssessments

Oct 5 2024

Legoktm added a comment to T319102: mwbot-rs: Add function to protect a page.

@F1rst_LastNam3 awesome, let us know if you have any questions! (We also chat in Matrix/IRC if that's more convenient)

Oct 5 2024, 2:30 PM · good first task, mwbot-rs (mwbot)

Sep 17 2024

Legoktm updated the task description for T374993: Facilitate Volunteer NDA application process for 2024 Toolforge standards committee appointees.
Sep 17 2024, 7:23 PM · User-bd808, Toolforge-standards-committee

Sep 5 2024

Legoktm added a comment to T335513: Selective outage of `/wikitext/to/lint` and `/html/to/wikitext` RESTBase endpoints.

Awesome! I just switched over my bot and in my limited testing it works the same. I'll look into updating documentation tomorrow.

Sep 5 2024, 4:19 AM · Parsoid, RESTBase Sunsetting
Legoktm added a comment to T334238: Create deprecation plan for public parsoid endpoints.

I agree with you, it hasn't been properly communicated yet and that's why a formal communication with guidelines for migration hasn't been published, that's my fault and I apologize for the lack of movement here.

Sep 5 2024, 4:00 AM · Parsoid (Tracking), Content-Transform-Team-WIP, RESTBase Sunsetting

Aug 30 2024

Legoktm added a comment to T335513: Selective outage of `/wikitext/to/lint` and `/html/to/wikitext` RESTBase endpoints.

What's the replacement API module for this? Is there documentation?

Aug 30 2024, 11:47 PM · Parsoid, RESTBase Sunsetting
Legoktm added a comment to T334238: Create deprecation plan for public parsoid endpoints.

There's now T373716: Reroute RESTbase Parsoid endpoints to core's REST endpoints, which is another attempt at solving this problem and hints that the progress of having callers move isn't meeting the necessary timeframes. I'll echo what @Chlod said and that IMO the biggest issue has been a lack of communication to clients/library authors on what we should be doing, as well as a lack of replies to questions, e.g. T354037.

Aug 30 2024, 11:44 PM · Parsoid (Tracking), Content-Transform-Team-WIP, RESTBase Sunsetting
Legoktm added a comment to T367625: REST API considers `v1/transform/wikitext/to/html` to be a write route.

Right... But that's not what the code actually does. I I'll try to come up with a better explanation to put into the docs.

Aug 30 2024, 11:42 PM · MW-1.43-notes (1.43.0-wmf.13; 2024-07-09), MediaWiki-REST-API
Legoktm closed T373167: Reduce mwbot-rs build platforms in CI as Resolved.
Aug 30 2024, 11:32 PM · mwbot-rs
Legoktm claimed T373167: Reduce mwbot-rs build platforms in CI.
Aug 30 2024, 11:21 PM · mwbot-rs

Aug 28 2024

Legoktm added a comment to T370203: Install Matomo Custom Reports Plugin for wikimediafoundation.org.

...I'm genuinely shocked that it's doing so for the purpose of better tracking of users.

I would just like to add a small note here, for the purposes of clarity in how Matomo is used at the Foundation.
This plugin does not change the user tracking behaviour of Matomo at all. It just enables creating reports based on filtering our existing data by different parameters.

Aug 28 2024, 12:50 PM · Software-Licensing, Data-Platform-SRE (2024.08.17 - 2024.09.06)

Aug 27 2024

Legoktm added a comment to T373167: Reduce mwbot-rs build platforms in CI.

Yeah, that's reasonable, I think those 3 platforms will cover like 99% of issues. I think if we could run the more obscure platforms on a tag push instead of every commit, that would be ideal. We could also drop MSRV testing for said obscure platforms and not really lose anything.

Aug 27 2024, 1:03 AM · mwbot-rs

Aug 26 2024

Legoktm added a comment to T370203: Install Matomo Custom Reports Plugin for wikimediafoundation.org.

Hi @elukey , @joanna_borun, the reason the plugin was chosen is because there are no other equivalent open source options. The plugin underwent an internal security review and signoff as part of the provisioning process which should provide sufficient assurances wrt to the security concerns above.

Aug 26 2024, 3:33 PM · Software-Licensing, Data-Platform-SRE (2024.08.17 - 2024.09.06)
Legoktm moved T370203: Install Matomo Custom Reports Plugin for wikimediafoundation.org from Backlog to Non-free content on the Software-Licensing board.
Aug 26 2024, 3:33 PM · Software-Licensing, Data-Platform-SRE (2024.08.17 - 2024.09.06)
Legoktm added a project to T370203: Install Matomo Custom Reports Plugin for wikimediafoundation.org: Software-Licensing.
Aug 26 2024, 3:33 PM · Software-Licensing, Data-Platform-SRE (2024.08.17 - 2024.09.06)

Aug 20 2024

Pppery awarded T157670: Periodically run refreshLinks.php on production sites. a Like token.
Aug 20 2024, 12:18 AM · Platform Engineering Roadmap Decision Making, MediaWiki-Parser, MediaWiki-Page-editing, Parsing-Team--ARCHIVED

Aug 11 2024

Legoktm added a comment to T200385: Add a hook to modify $wgLogTypes / LogPage::validTypes() at runtime.

There was just one attempt? I think this is still a relatively straightforward task.

Aug 11 2024, 4:28 PM · good first task, Patch-Needs-Improvement, Platform Engineering (Icebox), Google-Code-in-2019, MediaWiki-Logevents
Legoktm added a comment to T369174: SDS 2.1.1 Evaluations of 3rd part Experimentation Platform by SRE Service Ops.

@WDoranWMF the linked "initial decision brief covering licensing issues" doc is private - can it be made public?

Aug 11 2024, 4:26 AM · Epic, serviceops, Data Products

Jul 31 2024

Legoktm added a comment to T371073: wikitext/to/lint API is returning an empty array for night-mode-unaware-background-color lint errors.

This was reverted as part of T371376: Linter related error on PCS tests: Cannot use object of type stdClass as array, the Linter extension was expecting it to be an array so need to rethink how to implement this.

Jul 31 2024, 12:40 AM · Content-Transform-Team-WIP, Essential-Work, MediaWiki-extensions-Linter, Parsoid
Legoktm added a comment to T370624: Reduce concurrency of RecordLintJobs or shard it per section.

Yeah, grep for partitioned_jobs_config in helm deployment charts.

Jul 31 2024, 12:32 AM · RESTBase Sunsetting, Content-Transform-Team-WIP, MediaWiki-extensions-Linter

Jul 30 2024

Legoktm added a comment to T371376: Linter related error on PCS tests: Cannot use object of type stdClass as array.

Sorry, my bad. I've proposed a revert and I can redo it properly when I have a bit more time.

Jul 30 2024, 2:21 PM · MediaWiki-extensions-Linter, RESTBase, Page Content Service
Legoktm added a comment to T370624: Reduce concurrency of RecordLintJobs or shard it per section.

Should this be done in the job queue? Or is there something we can do inside RecordLintJob? Is there an example of other jobs that are sharded by section?

Jul 30 2024, 3:18 AM · RESTBase Sunsetting, Content-Transform-Team-WIP, MediaWiki-extensions-Linter

Jul 29 2024

Legoktm added a comment to T209899: The mass-message queue reports 0 when there are still queued messages.

I'm not sure what the best solution is here. The number is wrong and is probably going to be wrong going forwards. We can remove/hide it along the lines of T209899#6656593, but removing it is also an API breaking change and this seems a little trivial to trigger that.

Jul 29 2024, 3:11 PM · Data-Engineering-Icebox, Analytics-Radar, ChangeProp, WMF-JobQueue, MassMessage

Jul 28 2024

Legoktm removed projects from T370235: New upstream release for composer/semver: Content-Transform-Team-WIP, Parsoid.
Jul 28 2024, 3:47 AM · MW-1.43-notes (1.43.0-wmf.18; 2024-08-13), Essential-Work, MediaWiki-Vendor, MediaWiki-General, MediaWiki-Codesniffer
Legoktm added a comment to T340517: custom edit summaries for editmassmessagelist API.

It is useful to see which entries on this list are automated by bots and user scripts, and which entries are done manually.

Jul 28 2024, 3:25 AM · MassMessage
Legoktm renamed T368727: Special:MassMessage sends the same message twice on talk pages that use StructuredDiscussions from Special:MassMessage sends the same message twice on talk pages that use threads to Special:MassMessage sends the same message twice on talk pages that use StructuredDiscussions.
Jul 28 2024, 3:21 AM · MassMessage

Jul 27 2024

Legoktm added a comment to T169189: Take advantage of PHPCS's parallel feature.

At least for me, trying to kick off 64 processes all at once just causes my development VM to lock up. Is it possible to automatically determine and scale the value based on the number of CPUs/threads available?

Jul 27 2024, 11:20 PM · Patch-For-Review, MediaWiki-Codesniffer
Legoktm claimed T368690: Create a MediaWikiServices service to check for lint errors.
Jul 27 2024, 10:37 PM · MW-1.43-notes (1.43.0-wmf.16; 2024-07-30), MediaWiki-extensions-Linter, Parsoid, Content-Transform-Team
Legoktm added a comment to T360809: Linter extension, core, and Parsoid are too entangled.

Related to / duplicate of T330725: Merge Linter extension into MediaWiki core?

Jul 27 2024, 10:09 PM · MediaWiki-extensions-Linter, Technical-Debt, Content-Transform-Team
Legoktm added a comment to T371134: Proper class for lints being passed to Env::recordLint.

The problem I ran into with a LintError class is that you'd expect it to look something like (abbreviated):

php
Jul 27 2024, 12:28 AM · Parsoid

Jul 26 2024

Legoktm added a comment to T371134: Proper class for lints being passed to Env::recordLint.

I started writing this (congrats on the successful nerd snipe), but I think we might get just as much value by just changing the signature of recordLint to take in the various elements and does the construction of the lint error internally. I'll upload a patch for consideration shortly.

Jul 26 2024, 11:02 PM · Parsoid
Legoktm added a comment to T348379: Tideways_xhprof has been archived, migrate everything to xhprof.

@Jdforrester-WMF flagged that this is very widely used in production (c.f. https://codesearch.wmcloud.org/search/?q=tideways&files=&excludeFiles=&repos=).

Jul 26 2024, 8:19 PM · serviceops, Patch-For-Review, Documentation, MediaWiki-Core-Profiler
Legoktm added a comment to T348379: Tideways_xhprof has been archived, migrate everything to xhprof.

tidways_xhprof was removed in Debian today so I noticed this as well and submitted a patch. I don't know how actively people are using tideways_xhprof, and whether it's premature to remove support if it still works on e.g. Debian stable.

Jul 26 2024, 7:55 PM · serviceops, Patch-For-Review, Documentation, MediaWiki-Core-Profiler
Legoktm renamed T368690: Create a MediaWikiServices service to check for lint errors from Create a service to check for lint errors to Create a MediaWikiServices service to check for lint errors.
Jul 26 2024, 6:53 PM · MW-1.43-notes (1.43.0-wmf.16; 2024-07-30), MediaWiki-extensions-Linter, Parsoid, Content-Transform-Team
Legoktm awarded T371134: Proper class for lints being passed to Env::recordLint a Like token.
Jul 26 2024, 6:51 PM · Parsoid
Legoktm removed a project from T370616: wikimedia/mathoid docker image is out of date.: Docker-Hub-MediaWiki.

(This isn't under the control of the Docker-Hub-MediaWiki maintainers, sorry!)

Jul 26 2024, 6:30 PM · Math, Mathoid
Legoktm added a comment to T370739: Figure out how a shellbox instance for the Chart extension would work.

Unless it's too slow performance wise, I do think using Shellbox is the easiest path to production in that it's already compliant with the SRE requirements and integrated into MediaWiki. And I think it would be relatively straightforward to switch to a proper service later on if needed.

Jul 26 2024, 6:17 PM · Charts (Sprint 3), serviceops, SRE, Shellbox
Legoktm added a comment to T371073: wikitext/to/lint API is returning an empty array for night-mode-unaware-background-color lint errors.

https://gitlab.wikimedia.org/repos/mwbot-rs/delinter/-/commit/17305d6a6a584c26d3d114c257a8613789750b7f is the workaround I've applied for now.

Jul 26 2024, 5:30 PM · Content-Transform-Team-WIP, Essential-Work, MediaWiki-extensions-Linter, Parsoid
Legoktm created T371073: wikitext/to/lint API is returning an empty array for night-mode-unaware-background-color lint errors.
Jul 26 2024, 2:49 AM · Content-Transform-Team-WIP, Essential-Work, MediaWiki-extensions-Linter, Parsoid

Jul 23 2024

Legoktm added a comment to T370739: Figure out how a shellbox instance for the Chart extension would work.

However, the Chart extension's use case would involve shelling out to a Node.js script, which would need to install dependencies from NPM (we could keep the set of dependencies pretty limited, we probably just need echarts and commander). We're not aware of any existing Node.js-based use cases for Shellbox, so we thought we would raise this issue early.

Jul 23 2024, 5:39 AM · Charts (Sprint 3), serviceops, SRE, Shellbox

Jul 22 2024

Legoktm added a comment to T290526: Piped links using {{!}} are not rendered correctly.

I just want to flag that this is an issue on talk pages, and maybe should be in Parsoid-Read-Views Phase 1 for DiscussionTools because it causes links to break.

Jul 22 2024, 4:37 AM · Parsoid-Read-Views (Phase 2 - testwiki Main namespace support), Parsoid
Legoktm added a comment to T370610: Toolforge build service: Can't process an image larger than 128 Mpx using ImageMagick.

Given multiple configuration sources, ImageMagick always uses the lowest specified limit. So setting a higher limit by adding a configuration file, setting an environment variable, or calling the relevant API has no effect.

Jul 22 2024, 4:14 AM · Toolforge (Toolforge iteration 13), Patch-For-Review

Jul 21 2024

Legoktm added a comment to T344744: Migrate ircservserv-config to GitLab.

Merged both MRs and switched the checkouts in the tool over to GitLab.

Jul 21 2024, 7:42 PM · Patch-For-Review, User-bd808, GitLab (Pipeline Services Migration🐤), ircservserv
Legoktm updated subscribers of T370497: ircservserv doesn't join #wikimedia-tech because of symlink magic.
<p858snake|cloud> depending on the number of channels using symlinks, it might just be easier doing it natively via chanserv flags with $chanacs to bring them though from other channels compared to ircservserv
Jul 21 2024, 5:36 PM · ircservserv

Jul 19 2024

Legoktm created T370497: ircservserv doesn't join #wikimedia-tech because of symlink magic.
Jul 19 2024, 3:48 AM · ircservserv
Legoktm added a comment to T344744: Migrate ircservserv-config to GitLab.

Yeah, let's do it, and the source code too.

Jul 19 2024, 3:45 AM · Patch-For-Review, User-bd808, GitLab (Pipeline Services Migration🐤), ircservserv
Legoktm added a comment to T355363: Drop rust testing from gerrit CI, under-supported and only used by a few tools (unlike GitLab CI).

Feel free to remove the CI jobs, I'll take care of moving the two repos to GitLab soon enough.

Jul 19 2024, 3:43 AM · Continuous-Integration-Config

Jul 17 2024

Soda awarded T58362: Allow creating custom Echo notifications a Fox token.
Jul 17 2024, 7:31 AM · Patch-Needs-Improvement, User-notice, MW-1.43-notes (1.43.0-wmf.8; 2024-06-04), Wikimedia-Hackathon-2024, Growth-Team-Filtering, Growth-Team, Notifications

Jul 16 2024

Legoktm closed T363216: logo-test is down as Resolved.

Fixed in https://gitlab.wikimedia.org/toolforge-repos/logo-test/-/commit/210df3f7cff6173b1d2e22505a4a044bec8defc3 (sorry I didn't see this task until just now).

Jul 16 2024, 4:16 AM · Tool-logo-test

Jul 12 2024

Legoktm added a comment to T321640: Create embeddable version of replag tool for other tools.

So far I've integrated this into https://streaks.toolforge.org/ and wrote a blog post: https://blog.legoktm.com/2024/07/12/making-it-easier-for-toolforge-tools-to-surface-replag.html

Jul 12 2024, 5:10 AM · Tool-replag

Jul 10 2024

Legoktm added a comment to T363773: CVE-2024-40613: Evil regex used to process gadget definitions.

Just to clarify, despite being disclosed and announced today, Gadgets is a bundled extension, so the fix was released as part of MediaWiki 1.39.8 / 1.40.4 / 1.41.2 / 1.42.1.

Jul 10 2024, 10:28 PM · Patch-For-Review, security-bug, SecTeam-Processed, MediaWiki-extensions-Gadgets, Vuln-DoS, Security, Security-Team

Jul 5 2024

Legoktm closed T363314: HTTP status client error (422 Unprocessable Entity) on posting with SVG media as Resolved.

We could also download the rasterized PNG version via the thumbnails 🤔

Jul 5 2024, 9:23 PM · Tool-masto-collab

Jul 2 2024

Legoktm added a comment to T363314: HTTP status client error (422 Unprocessable Entity) on posting with SVG media.

We could also download the rasterized PNG version via the thumbnails 🤔

Jul 2 2024, 4:59 PM · Tool-masto-collab
Legoktm renamed T363314: HTTP status client error (422 Unprocessable Entity) on posting with SVG media from HTTP status client error (422 Unprocessable Entity) on posting with media to HTTP status client error (422 Unprocessable Entity) on posting with SVG media.
Jul 2 2024, 4:51 PM · Tool-masto-collab
Legoktm added a comment to T363314: HTTP status client error (422 Unprocessable Entity) on posting with SVG media.

Yeah, https://github.com/mastodon/mastodon/issues/6569 is the upstream ticket about not supporting SVG. We can handle this better in the tool though to display a better error.

Jul 2 2024, 4:51 PM · Tool-masto-collab

Jun 29 2024

Misfortunesdaughter awarded T268199: Graduate codesearch to production a Heartbreak token.
Jun 29 2024, 6:53 PM · collaboration-services, VPS-project-Codesearch

Jun 21 2024

gymate awarded T145589: Update VisualEditor to be compatible with magic links being disabled a Like token.
Jun 21 2024, 2:49 PM · VisualEditor-MediaWiki, VisualEditor

Jun 20 2024

Legoktm claimed T321640: Create embeddable version of replag tool for other tools.
Jun 20 2024, 11:49 PM · Tool-replag
Legoktm added a comment to T321640: Create embeddable version of replag tool for other tools.

I finally got around to doing this after the high s1 replag earlier this week. Unfortunately the problem with iframes is that they don't dynamically size based on the contents (as far as I know - would love to be wrong!). So when there's no lag (the majority of the time), you have to have empty space where the banner would go.

Jun 20 2024, 11:45 PM · Tool-replag
Legoktm updated subscribers of T367988: English wording inconsistency in Diffs preferences labels.

I know this is probably to much to ask for. But personally I'm not a fan of such inverted "say yes when you meant to say no" checkboxes. I find these unnecessarily confusing. It's almost a dark pattern in some situations. Do you think we can do something about this?

Jun 20 2024, 7:54 PM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Voice & Tone, MediaWiki-Core-Preferences
Legoktm created T368009: Create logo for mwbot-rs project.
Jun 20 2024, 2:17 AM · Logos, mwbot-rs
Legoktm added a comment to T365298: Design request: Central Login Design Review and Recommendations.

The user will see something like https://sso.wikimedia.org/en.wikipedia.org/wiki/Special:Userlogin which is potentially confusing or suspicious ("wikimedia.org" has limited brand recognition compared to "wikipedia.org", technically sophisticated users will maybe think the presence of en.wikipedia.org (used to identify from which wiki the user started the login process) is a phishing trick).

Jun 20 2024, 2:13 AM · SUL3, Design, Wikimedia-Design