See my mediawiki.org userpage.
- User Since
- Sep 19 2014, 7:30 PM (481 w, 11 h)
- IRC Nick
- LDAP User
- MediaWiki User
Thu, Dec 7
The main workflow here is using the
grid jobs framework to compile something with && webservice restart
Wed, Dec 6
Tue, Dec 5
Mostly to remind myself, the source code is at https://github.com/toollabs/daily-image-l but there are uncommitted changes on the tool itself. It's still in Python 2, but porting it should be trivial. All of the use of mwparserfromhell can be improved by using Parsoid HTML, so it's probably worth porting to Rust too.
I've stopped the updating job and marked the tool as no longer updating.
I will probably need past the December 14th initial deadline to migrate this tool since most of the code is pretty legacy.
Is there any data in chat that needs to be archived/saved somewhere?
Mon, Dec 4
tools.php-security-checker@tools-sgebastion-10:~$ toolforge jobs list Job name: Job type: Status: ----------- ----------------- -------------------------- pull schedule: @hourly Waiting for scheduled time tools.php-security-checker@tools-sgebastion-10:~$ crontab -l no crontab for tools.php-security-checker
Fri, Dec 1
tools.coverage@tools-sgebastion-10:~$ crontab -l no crontab for tools.coverage tools.coverage@tools-sgebastion-10:~$ toolforge jobs list Job name: Job type: Status: --------------- ---------------- -------------------------- fetch-and-chart schedule: @daily Waiting for scheduled time
Thu, Nov 30
Mon, Nov 27
The main dbreps job is running k8s now, it's just the build-rust.sh script that needs to be ported.
I've disabled the cron job for now, it was broken for other reasons. This tool did useful stuff in the past so I would like to revive it eventually but when that happens it will be grid-free.
I've disabled this tool, source code is at https://gerrit.wikimedia.org/g/labs/tools/ninthcircuit if anyone wants to revive it.
Sun, Nov 26
tools.shorturls@tools-sgebastion-10:~$ toolforge jobs list Job name: Job type: Status: ----------- ---------------- -------------------------- extract schedule: @daily Waiting for scheduled time tools.shorturls@tools-sgebastion-10:~$ crontab -r tools.shorturls@tools-sgebastion-10:~$ crontab -l no crontab for tools.shorturls
Sat, Nov 25
I've disabled this tool, I don't think anyone was using it. The code is available at https://gitlab.wikimedia.org/toolforge-repos/vendor.
Wed, Nov 22
I've added a note to the docs that the default quotas are changing soon: https://wikitech.wikimedia.org/w/index.php?diff=2128934&oldid=2128314&title=Help:Toolforge/Kubernetes (which would've stopped me from filing this request in the first place :))
Ah cool, I'm happy to wait a few weeks for the new quotas!
Tue, Nov 21
Sun, Nov 19
Fri, Nov 17
Probably me - I had merged the changes in Git but not yet deployed them. But now it's resolved!
Thu, Nov 16
Wed, Nov 15
Nope, it's back :( https://gitlab.wikimedia.org/repos/mwbot-rs/toolforge/-/jobs/165687
Switching to path-based input is something that tool developers would need to support in each tool
Tue, Nov 14
The far easier solution would be to just have the tool in question not use a query string for parameters, aka [[toolforge:scholia/Q1513315]], which is, AFAICT, what was implemented? Visiting https://iw.toolforge.org/scholia/Q1513315 works for me.
Fri, Nov 10
So I've posted a patch that is basically what I outlined in T35186#7487506. Rough next steps:
Harry (of WikiTrackBot) was telling me at Wikidata Day that there's cool stuff happening in the TypeScript world in which there are constants for each property, and then when getting a property's claims, it is automatically typed to the correct property type.
Following the discussion at https://commons.wikimedia.org/w/index.php?title=Commons:Village_pump&oldid=820424623#User_talk:CommonsDelinker/commands, I've switched the "renamecats.py" script to run under Python 3 and it seems to work now.
Nov 8 2023
I'm seeing less 404s now (yay), but I'm still getting one when POSTing to https://test.wikipedia.org/api/rest_v1/transform/html/to/wikitext/Mwbot-rs%2FDISPLAYTITLE/554795.
Nov 5 2023
There's no container image that contains wget... guess I can use curl instead.
Builds now happen using the jobs framework instead of on the grid.
tools.slf@tools-sgebastion-10:~$ toolforge jobs list Job name: Job type: Status: ----------- ------------------- -------------------------- slf-bot schedule: 0 0 * * 0 Waiting for scheduled time tools.slf@tools-sgebastion-10:~$ crontab -r tools.slf@tools-sgebastion-10:~$ crontab -l no crontab for tools.slf
Nov 4 2023
This was stabilized in toolforge 5.6.0.
This seems to have resolved itself?
Nov 3 2023
This feature was removed from mwapi, compatibility with WASM will be re-evaluated once it's reimplemented.
@mirror-kt very cool! Looks like it's basically a drop-in replacement too, and lets us upgrade the markup5ever dependency.
Nov 2 2023
Will the fix be backported?
Nov 1 2023
(This is causing test failures for mwbot-rs because our test pages are on testwiki: https://gitlab.wikimedia.org/repos/mwbot-rs/mwbot/-/merge_requests/57#note_58082)
Oct 29 2023
Guess not. Closing as resolved.
Mostly resolved, now onto T349975...
Oct 27 2023
Thanks @dancy, that was the clue I needed! Rust tries to automatically parallelize for the number of CPUs, so reducing the concurrency to 1 seems to keep it under the memory limit.
Oct 26 2023
@mirror-kt shared the rationale for this on GitLab:
I am running a bot to help renaming categories in jawp, based on dewp's project. a command to undo changes made by the bot was requested (it's hard to undo manually), but bot.api().post_with_token() doesn't work with SaveLock, so the rate By incorporating this function into mwbot itself, rate limits can be shared with normal page editing.
Oct 25 2023
The problem is that Parsoid only lets us edit template parameters as wikitext, while Wikicode is HTML based. This is the same when using VisualEditor to edit template invocations, it gives you a blob of wikitext to edit.
Oct 24 2023
Oct 22 2023
@ChristianHeusel you should have an invite to join the wikimedia/mediawiki-docker repository in your inbox!
https://github.com/docker-library/official-images/pull/15599 to make this official.
Oct 19 2023
Thanks for volunteering @ChristianHeusel!
Oct 18 2023
It's not 2024 yet.
Oct 16 2023
Oct 9 2023
For reference, this is what it looks like with the patch applied:
Oct 8 2023
There's still some TODOs left in https://gitlab.wikimedia.org/legoktm/rawdog but in my limited local testing, it seems to work. I'll do another pass in a few days (I also want to add some Python CI tools) before uploading to apt.wikimedia.org. I also pushed up a puppet patch that should make all the necessary changes (but that too needs more work).
Should this patch also deprecate the hardcoding of outdent/tracked in DT with the intention that communities add "mw-notalk" to those templates?
Sorry about the delay in reviewing, thanks for the patch!
Sep 28 2023
Sep 24 2023
Aug 22 2023
The functionality of ExtensionDistributor is provide special pages Special:ExtensionDistributor / Special:SkinDistributor (and related APIs) which is merely a frontend of tarballs at https://extdist.wmflabs.org/dist/extensions/ (which are generated by an independent tarball generator).
Aug 15 2023
The audit list is arbcom-audit-en@.
Aug 10 2023
Nobody knew the answer.
of a Lua wikitext parser that I've been writing