See my mediawiki.org userpage.
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
Sun, Nov 10
I released mwapi 0.6.1 by backporting just this fix. Thanks for reporting!
For some reason multipart::Part::stream wasn't working, when I switch it to:
Fri, Nov 8
I spent a few minutes looking at this today, I started by getting:
Wed, Nov 6
A limit of 5 edits per minute is incredibly slow (considering RESTBase let us run at 200 pages per second).
Tue, Nov 5
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.
Upload does not go through, and Some("TODO".to_string()) is returned instead
Sun, Nov 3
Should be fixed now, I bumped up the memory: https://wikitech.wikimedia.org/w/index.php?title=Tool%3ARustup&diff=2240867&oldid=2236350
Sorry Magnus! I thought I had fixed this but guess not.
If you use the job framework (see https://wikitech.wikimedia.org/wiki/Help:Toolforge/Jobs_framework), there's a mariadb image which contains mysqldump.
Fri, Oct 25
The new ccorg interwiki has now been added, so I've submitted two patches:
- https://gerrit.wikimedia.org/r/1082873 <-- updates license text right away
- https://gerrit.wikimedia.org/r/1082874 <-- adds a new message; once deployed we can migrate https://commons.wikimedia.org/wiki/Template:Cc-pd-mark-footer (10M transclusions)
our open source virtual event platform for Wikimania (eventyay.com)
Thu, Oct 24
Wed, Oct 23
The Phabricator part of this was deployed, so we should be all set here!
Oct 17 2024
Oct 16 2024
Oct 15 2024
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 10 2024
Oct 9 2024
Ack, thanks for the explanation. I'll create a new /cn/ route then and will send a MR to update Phabricator's links too.
This is a silly question - is it possible to register "BryanDavis" as a uid? (probably not, because it has to be lower case?)
Oct 8 2024
Hmm, I can't find where in LDAP that is...do you have an example account that's disabled?
Deployed. Also I gave you access to the tool but also happy to review patches in the future.
Oct 7 2024
+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 6 2024
I believe @jeremyb is going to take a shot at implementing this.
Oct 5 2024
@F1rst_LastNam3 awesome, let us know if you have any questions! (We also chat in Matrix/IRC if that's more convenient)
Sep 17 2024
Sep 5 2024
Awesome! I just switched over my bot and in my limited testing it works the same. I'll look into updating documentation tomorrow.
Aug 30 2024
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.
Aug 28 2024
Aug 27 2024
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 26 2024
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.