See my mediawiki.org userpage.
User Details
- User Since
- Sep 19 2014, 7:30 PM (521 w, 6 d)
- Roles
- Administrator
- Availability
- Available
- IRC Nick
- legoktm
- LDAP User
- Legoktm
- MediaWiki User
- Unknown
Tue, Sep 17
Thu, Sep 5
Awesome! I just switched over my bot and in my limited testing it works the same. I'll look into updating documentation tomorrow.
Fri, Aug 30
What's the replacement API module for this? Is there documentation?
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.
Wed, Aug 28
Tue, Aug 27
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.
Mon, Aug 26
Aug 20 2024
Aug 11 2024
There was just one attempt? I think this is still a relatively straightforward task.
@WDoranWMF the linked "initial decision brief covering licensing issues" doc is private - can it be made public?
Jul 31 2024
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 30 2024
Sorry, my bad. I've proposed a revert and I can redo it properly when I have a bit more time.
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 29 2024
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 28 2024
It is useful to see which entries on this list are automated by bots and user scripts, and which entries are done manually.
Jul 27 2024
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?
Related to / duplicate of T330725: Merge Linter extension into MediaWiki core?
The problem I ran into with a LintError class is that you'd expect it to look something like (abbreviated):
php
Jul 26 2024
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.
@Jdforrester-WMF flagged that this is very widely used in production (c.f. https://codesearch.wmcloud.org/search/?q=tideways&files=&excludeFiles=&repos=).
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.
(This isn't under the control of the Docker-Hub-MediaWiki maintainers, sorry!)
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.
https://gitlab.wikimedia.org/repos/mwbot-rs/delinter/-/commit/17305d6a6a584c26d3d114c257a8613789750b7f is the workaround I've applied for now.
Jul 23 2024
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 22 2024
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.
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 21 2024
Merged both MRs and switched the checkouts in the tool over to GitLab.
<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 19 2024
Yeah, let's do it, and the source code too.
Feel free to remove the CI jobs, I'll take care of moving the two repos to GitLab soon enough.
Jul 17 2024
Jul 16 2024
Fixed in https://gitlab.wikimedia.org/toolforge-repos/logo-test/-/commit/210df3f7cff6173b1d2e22505a4a044bec8defc3 (sorry I didn't see this task until just now).
Jul 12 2024
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 10 2024
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 5 2024
Jul 2 2024
We could also download the rasterized PNG version via the thumbnails 🤔
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.
Jun 29 2024
Jun 21 2024
Jun 20 2024
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 19 2024
https://github.com/42wim/matterbridge/issues/2033 is the upstream bug report.
04:15:17 --> wm-bb (~wm-bridge@wikimedia/bot/wm-bridgebot) has joined #wikimedia-rust 04:16:05 <wm-bb> [matrix] <legoktm> I filed https://phabricator.wikimedia.org/T366767 to see if we can get the IRC<-->Matrix bridge back 07:15:14 <-- wm-bb (~wm-bridge@wikimedia/bot/wm-bridgebot) has quit (Read error: Connection reset by peer) 07:16:14 --> wm-bb (~wm-bridge@wikimedia/bot/wm-bridgebot) has joined #wikimedia-rust 07:26:53 --> lucaswerkmeister (~lucaswerk@wikidata/Lucas-Werkmeister) has joined #wikimedia-rust
Thank you!
Jun 18 2024
Jun 15 2024
According to https://docs.gitlab.com/ee/user/markdown.html#gitlab-specific-references, using double bracket syntax in a markdown file is supposed to link to a wiki page in that repository's GitLab wiki. However since we have wikis disabled, I suspect some "security" feature is attempting to hide the title since we don't have permissions to see the wiki (again, since it's disabled). I think the best/reasonable thing to do is either escape the double bracket syntax, e.g. [[User:Foo]] or just use a proper markdown link, e.g. [User:Foo](https://meta.wikimedia.org/wiki/User:Foo).
Jun 13 2024
Jun 10 2024
RESTBase is going away so this isn't needed anymore.
Jun 8 2024
Jun 6 2024
Jun 5 2024
Jun 4 2024
Jun 2 2024
CI is green so I think this is resolved (re-open if not) :)
May 13 2024
Apr 4 2024
Apr 3 2024
@taavi you should have an invite for owner permissions on the wikimedia_ciutils pypi project.
Apr 1 2024
Mar 31 2024
Great, glad you were able to figure it out!
Mar 30 2024
Thanks both for working on this!!
Mar 24 2024
+1 from me.
Mar 21 2024
Mar 2 2024
Great! You both should have invites to join the mwbot-rs organization
I've taken this opportunity to write up some documentation at https://www.mediawiki.org/wiki/Mwbot-rs/Releasing and created a mwbot-rs org/team on github to hold the ACL for all the crates so new owners can be added in one place.
Feb 23 2024
The problem is actually mw.text.jsonDecode():
=mw.logObject(mw.text.jsonDecode('{"0": "zero", "00": "two zeroes"}')) table#1 { [0] = "zero", ["00"] = "two zeroes", }
Not easily, the same Pending status as reported by kube-state-metrics seems to also include things pods where the image configured does not exist and other user errors.