Page MenuHomePhabricator

Chlod (Chlod Alejandro)
Volunteer Magician

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Thursday

  • Clear sailing ahead.

User Details

User Since
Jul 4 2020, 4:40 AM (202 w, 3 d)
Availability
Available
IRC Nick
chlod
LDAP User
Chlod Alejandro
MediaWiki User
Chlod [ Global Accounts ]

Hello! I make userscripts on the English Wikipedia, tools on Toolforge, and I am part of RedWarn/Ultraviolet's developer team. In my offtime, I prefer doing counter-vandalism, CCI case handling, or article writing on things that interest me. My main expertise lies in JavaScript, but I'm also knowledgeable in PHP. If you stumble upon convoluted or complicated JavaScript code, feel free to invite me and I'll do my best to analyze/review it. You can read my English Wikipedia userpage for more details about my work on Wikipedia, or my website for more details about me.

Recent Activity

Today

Chlod added a comment to T315761: Create some basic PHPUnit tests.

I completely missed Hooks.php! Guess I'll file another patch to cover that one... 😅

Tue, May 21, 3:09 PM · MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), Moderator-Tools-Team (Kanban), MediaWiki-extensions-Nuke, Technical-Debt, Test-Coverage

Sat, May 18

Chlod awarded T899: Unclear what the point of tokens in Phabricator is a Unicorn! token.
Sat, May 18, 6:00 PM · Phabricator

Wed, May 15

Chlod added a comment to T338768: Allow more granular start and end time of campaigns.

I don't have the permission to edit Campaign-namespace pages on Commons. @Robertsky (or anyone with the right perms lurking), can you test if this is still an issue on your end?

Wed, May 15, 7:55 PM · MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), Wikimedia-Hackathon-2024, UploadWizard

Mon, May 13

Chlod added a comment to T359563: Greyed out content (wwt-disabled).

Experiencing the same thing on Jueteng; everything below the etymology sections seems to be greyed out. I checked the source and there's nothing popping up I can see that should be an issue.

Mon, May 13, 1:27 PM · Community-Tech, Who-Wrote-That

Sat, May 11

Chlod added a watcher for MediaWiki-extensions-Nuke: Chlod.
Sat, May 11, 10:01 AM
Chlod renamed T364671: File deletion reasons do not show up when attempting to nuke pages from File deletion reasons do not show up to File deletion reasons do not show up when attempting to nuke pages.
Sat, May 11, 10:01 AM · Moderator-Tools-Team, MediaWiki-extensions-Nuke
Chlod created T364671: File deletion reasons do not show up when attempting to nuke pages.
Sat, May 11, 10:00 AM · Moderator-Tools-Team, MediaWiki-extensions-Nuke

Fri, May 10

Chlod awarded T364531: +2 on mediawiki/* to Novem Linguae a Like token.
Fri, May 10, 7:14 AM · MediaWiki-Gerrit-Group-Requests

Sun, May 5

Chlod awarded T364239: Add fox icon / badge to Phabricator a Fox token.
Sun, May 5, 11:22 AM · Phabricator (2024-05-05), Release-Engineering-Team, User-brennen, Upstream, Wikimedia-Hackathon-2024

Sat, May 4

Chlod added a project to T338768: Allow more granular start and end time of campaigns: Wikimedia-Hackathon-2024.
Sat, May 4, 6:08 PM · MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), Wikimedia-Hackathon-2024, UploadWizard
Chlod claimed T338768: Allow more granular start and end time of campaigns.
Sat, May 4, 5:53 PM · MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), Wikimedia-Hackathon-2024, UploadWizard
Chlod added a comment to T278625: Italicize the page title for redirects in Nuke's page list.

Might be better to just attach the mw-disambig and mw-redirect classes to these and allow user CSS to style them, just like we normally do on parses. Not sure how expensive that might be performance-wise.

Sat, May 4, 2:53 PM · MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), Moderator-Tools-Team (Kanban), MediaWiki-extensions-Nuke
Chlod added a comment to T234726: Titles with non-DB-normalised keys are not recognised.

Found a temporary solution. This should work for now until T365144 goes through.

Sat, May 4, 1:41 PM · Patch-For-Review, MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), Moderator-Tools-Team (Kanban), MediaWiki-extensions-Nuke

Fri, May 3

Chlod placed T234726: Titles with non-DB-normalised keys are not recognised up for grabs.

Bad news: the way the filter works is inherently incompatible with QueryBuilder.

Fri, May 3, 5:48 PM · Patch-For-Review, MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), Moderator-Tools-Team (Kanban), MediaWiki-extensions-Nuke
Chlod added a comment to T234726: Titles with non-DB-normalised keys are not recognised.

Got this checked by a DBA to make sure it's safe, see T364144 for the general sentiment.

Fri, May 3, 3:10 PM · Patch-For-Review, MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), Moderator-Tools-Team (Kanban), MediaWiki-extensions-Nuke
Chlod created T364144: Replace SQL LIKE matching for Nuke.
Fri, May 3, 2:57 PM · Moderator-Tools-Team, MediaWiki-extensions-Nuke
Chlod added a comment to T234726: Titles with non-DB-normalised keys are not recognised.

I've got the previous patch working on the latest commit of Nuke (as part of Wikimedia-Hackathon-2024), i.e. converted it to use the new QueryBuilder system. Lots of reusable stuff, so might as well just improve that patch rather than create a new one. Uploaded it under the same patch (541077).

Fri, May 3, 1:50 PM · Patch-For-Review, MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), Moderator-Tools-Team (Kanban), MediaWiki-extensions-Nuke
Chlod claimed T234726: Titles with non-DB-normalised keys are not recognised.
Fri, May 3, 1:48 PM · Patch-For-Review, MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), Moderator-Tools-Team (Kanban), MediaWiki-extensions-Nuke
Chlod added a comment to T43351: Nuke should be capable of deleting pages which have been moved.

I think this is worth putting in Tech News:

Nuke will now correctly delete pages which were moved to another title.

Fri, May 3, 12:07 PM · Moderator-Tools-Team (Kanban), MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), User-notice, MediaWiki-extensions-Nuke
Chlod claimed T43351: Nuke should be capable of deleting pages which have been moved.

I've updated Xiplus' patch to work on the latest revision of Nuke for Wikimedia-Hackathon-2024. Nuke was migrated to query builder some time ago so I've changed it up to use that.

Fri, May 3, 10:31 AM · Moderator-Tools-Team (Kanban), MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), User-notice, MediaWiki-extensions-Nuke
Chlod created T364078: Text contrast too low on Android apps.
Fri, May 3, 8:33 AM · Essential-Work, Page Content Service, Accessibility, Wikipedia-Android-App-Backlog

Mon, Apr 29

Chlod updated the task description for T348470: Implement $i18n in UV.
Mon, Apr 29, 11:37 AM · Patch-For-Review, Ultraviolet
Chlod renamed T348470: Implement $i18n in UV from Implement i18n in UV to Implement $i18n in UV.
Mon, Apr 29, 11:37 AM · Patch-For-Review, Ultraviolet
Chlod added a comment to T348470: Implement $i18n in UV.

Should we rename this task, @Sportzpikachu? Considering we only really have one choice for internationalization (per T348406).

Mon, Apr 29, 11:28 AM · Patch-For-Review, Ultraviolet
Chlod added a comment to T348406: Adopt vue.js and drop tsx-dom.

Biggest blocker for this has been resolved (link). The Great Refactoring is upon us.

Mon, Apr 29, 11:24 AM · Ultraviolet

Mon, Apr 22

Chlod added a comment to T363089: Links to some existing drafts and articles are red.

Probably related to the 17 hour replication lag for enwiki right now, similar to T362725. Root cause appears to be an issue with the replicas (T363077).

Mon, Apr 22, 11:40 AM · Community-Tech, CopyPatrol

Apr 17 2024

Chlod placed T333548: Write unit/integration tests for Ultraviolet up for grabs.

De-assigning until I can dedicate more time to this. Here's a summary of where I'm at though:

Apr 17 2024, 8:04 AM · Ultraviolet
Chlod updated the task description for T333548: Write unit/integration tests for Ultraviolet.
Apr 17 2024, 7:59 AM · Ultraviolet

Apr 16 2024

Chlod added a comment to T335084: Prepare Ultraviolet for IP Masking.

More information on how developers can react to the changes can now be found at mw:Trust and Safety Product/Temporary Accounts/For developers. I'll try to work on this, among other things, this week and next week.

Apr 16 2024, 5:48 PM · Temporary accounts, Ultraviolet

Mar 29 2024

Chlod triaged T361373: Wikitext unusable in UAA-related warnings as Medium priority.
Mar 29 2024, 3:25 PM · Ultraviolet
Chlod created T361373: Wikitext unusable in UAA-related warnings.
Mar 29 2024, 3:23 PM · Ultraviolet

Mar 6 2024

Chlod closed T347763: Page Content Service i18n data is stale as Resolved.

Looks like this has been fixed. I can confirm that the CC BY-SA 4.0 text now shows up on the Android app. page-talk-page-subtitle in ruwiki PCS i18n data also reflects the latest from TranslateWiki. Marking this as resolved, unless something else comes up.

Mar 6 2024, 11:32 AM · I18n, Russian-Sites, Wikipedia-iOS-App-Backlog, Wikipedia-Android-App-Backlog, Page Content Service

Mar 1 2024

Chlod closed T350223: Incorrect month header is used for users with timezone behind UTC as Resolved.
Mar 1 2024, 3:30 PM · Ultraviolet

Feb 20 2024

Chlod added a comment to T356704: PageTriage CI broken (PHPUnit: There was 1 error: HooksTest::testOnPageUndelete: Container disabled).

If you want to debug what's happening, I think your best bet is checking out Quibble so you can run the test in the exact same environment it runs in on the CI servers, but with a debugger enabled.

Feb 20 2024, 4:51 PM · MW-1.42-notes (1.42.0-wmf.20; 2024-02-27), Moderator-Tools-Team (Kanban), Growth-Team, StructuredDiscussions, ci-test-error (WMF-deployed Build Failure), PageTriage
Chlod added a comment to T354324: Add external-use API endpoints to CopyPatrol.

Sorry for the relative silence! The year kicked off pretty busy for me. I'll be much more available now though.

Feb 20 2024, 4:43 PM · CopyPatrol

Feb 19 2024

Chlod added a subtask for T347770: Right click menu: T357872: Special characters glitch when using [[w:en:Wikipedia:Ultraviolet]].
Feb 19 2024, 1:00 AM · Ultraviolet (RedWarn Compatibility)
Chlod added a parent task for T357872: Special characters glitch when using [[w:en:Wikipedia:Ultraviolet]]: T347770: Right click menu.
Feb 19 2024, 1:00 AM · Ultraviolet
Chlod triaged T357872: Special characters glitch when using [[w:en:Wikipedia:Ultraviolet]] as Low priority.

This is an issue with RedWarn, as Ultraviolet doesn't have a right-click menu (as of now). We'll make sure this is fixed in reimplementation.

Feb 19 2024, 12:59 AM · Ultraviolet

Feb 6 2024

Chlod added a comment to T356704: PageTriage CI broken (PHPUnit: There was 1 error: HooksTest::testOnPageUndelete: Container disabled).

Can't seem to replicate this locally, or at least I know too little of the configuration to ensure that I'm replicating this properly. The page is undeleted with no issues. But the debug log it spat out corroborated what I wrote above.

Feb 6 2024, 2:57 PM · MW-1.42-notes (1.42.0-wmf.20; 2024-02-27), Moderator-Tools-Team (Kanban), Growth-Team, StructuredDiscussions, ci-test-error (WMF-deployed Build Failure), PageTriage
Chlod added a comment to T356704: PageTriage CI broken (PHPUnit: There was 1 error: HooksTest::testOnPageUndelete: Container disabled).

I checked Flow but it was mostly localization and npm updates, so I wasn't ready to blame it just yet. In my head, this loop being interrupted by the teardown was pretty odd, and I focused on that instead.

Feb 6 2024, 8:44 AM · MW-1.42-notes (1.42.0-wmf.20; 2024-02-27), Moderator-Tools-Team (Kanban), Growth-Team, StructuredDiscussions, ci-test-error (WMF-deployed Build Failure), PageTriage
Chlod added a comment to T356704: PageTriage CI broken (PHPUnit: There was 1 error: HooksTest::testOnPageUndelete: Container disabled).

Been investigating at https://gerrit.wikimedia.org/r/c/mediawiki/extensions/PageTriage/+/997634 by putting a bunch of log statements in and I'm a bit stumped. Here's where I'm at:

Feb 6 2024, 8:01 AM · MW-1.42-notes (1.42.0-wmf.20; 2024-02-27), Moderator-Tools-Team (Kanban), Growth-Team, StructuredDiscussions, ci-test-error (WMF-deployed Build Failure), PageTriage

Jan 12 2024

Chlod moved T354900: Wikimedia\Rdbms\DBQueryError: Error 1052: Column 'ptrpt_tag_id' in where clause is ambiguousFunction: MediaWiki\Extension\PageTriage\Api\ApiPageTriageList::getPageIdsQuery: SELECT COUNT(*) AS `rowcount` FROM (SELECT 1 FRO from Backlog to Waiting for enwiki deploy on the PageTriage board.
Jan 12 2024, 1:48 AM · MW-1.42-notes (1.42.0-wmf.14; 2024-01-16), PageTriage, Wikimedia-production-error
Chlod merged T354894: Wikimedia\Rdbms\DBTransactionStateError: Cannot execute query from MediaWiki\User\UserGroupManager::getUserGroupMemberships while transaction status is ERROR into T354900: Wikimedia\Rdbms\DBQueryError: Error 1052: Column 'ptrpt_tag_id' in where clause is ambiguousFunction: MediaWiki\Extension\PageTriage\Api\ApiPageTriageList::getPageIdsQuery: SELECT COUNT(*) AS `rowcount` FROM (SELECT 1 FRO.
Jan 12 2024, 1:47 AM · MW-1.42-notes (1.42.0-wmf.14; 2024-01-16), PageTriage, Wikimedia-production-error
Chlod merged task T354894: Wikimedia\Rdbms\DBTransactionStateError: Cannot execute query from MediaWiki\User\UserGroupManager::getUserGroupMemberships while transaction status is ERROR into T354900: Wikimedia\Rdbms\DBQueryError: Error 1052: Column 'ptrpt_tag_id' in where clause is ambiguousFunction: MediaWiki\Extension\PageTriage\Api\ApiPageTriageList::getPageIdsQuery: SELECT COUNT(*) AS `rowcount` FROM (SELECT 1 FRO.
Jan 12 2024, 1:47 AM · MW-1.42-notes (1.42.0-wmf.14; 2024-01-16), PageTriage, Wikimedia-production-error

Jan 11 2024

Chlod added a comment to T354900: Wikimedia\Rdbms\DBQueryError: Error 1052: Column 'ptrpt_tag_id' in where clause is ambiguousFunction: MediaWiki\Extension\PageTriage\Api\ApiPageTriageList::getPageIdsQuery: SELECT COUNT(*) AS `rowcount` FROM (SELECT 1 FRO.

You'll need the ORES extension installed and active, if it isn't already. The copyvio tag is, for some reason, attached to ORES being present in the wiki. Without it, PageTriage just skips searching for the copyvio tag entirely. Setup is here, to save you a few clicks.

Jan 11 2024, 11:23 PM · MW-1.42-notes (1.42.0-wmf.14; 2024-01-16), PageTriage, Wikimedia-production-error
Chlod claimed T354900: Wikimedia\Rdbms\DBQueryError: Error 1052: Column 'ptrpt_tag_id' in where clause is ambiguousFunction: MediaWiki\Extension\PageTriage\Api\ApiPageTriageList::getPageIdsQuery: SELECT COUNT(*) AS `rowcount` FROM (SELECT 1 FRO.
Jan 11 2024, 9:54 PM · MW-1.42-notes (1.42.0-wmf.14; 2024-01-16), PageTriage, Wikimedia-production-error
Chlod added a comment to T354900: Wikimedia\Rdbms\DBQueryError: Error 1052: Column 'ptrpt_tag_id' in where clause is ambiguousFunction: MediaWiki\Extension\PageTriage\Api\ApiPageTriageList::getPageIdsQuery: SELECT COUNT(*) AS `rowcount` FROM (SELECT 1 FRO.

Definitely related. Selecting the "copyvio" filter and any other filter on the new pages feed causes this issue to show up. The copyvio tag is JOINed separately from the rest of the tags, which in turn causes the reference to ptrpt_tag_id at ApiPageTriageList.php:577 to become ambiguous if both the copyvio tag and some other tag (newcomer, learner, etc.) have been requested.

Jan 11 2024, 9:53 PM · MW-1.42-notes (1.42.0-wmf.14; 2024-01-16), PageTriage, Wikimedia-production-error
Chlod added a comment to T354900: Wikimedia\Rdbms\DBQueryError: Error 1052: Column 'ptrpt_tag_id' in where clause is ambiguousFunction: MediaWiki\Extension\PageTriage\Api\ApiPageTriageList::getPageIdsQuery: SELECT COUNT(*) AS `rowcount` FROM (SELECT 1 FRO.

Possibly related to T354894? The request URL matches the one on that task and it was opened just recently (though the logs here look like the underlying issue for that task).

Jan 11 2024, 8:30 PM · MW-1.42-notes (1.42.0-wmf.14; 2024-01-16), PageTriage, Wikimedia-production-error
Chlod added a comment to T354894: Wikimedia\Rdbms\DBTransactionStateError: Cannot execute query from MediaWiki\User\UserGroupManager::getUserGroupMemberships while transaction status is ERROR.

Seems like it's happening when the "Copyvio"/"None" possible issue filter is paired with one of the "Were created by" filters (newcomer/learner/etc., except "Autopatrolled users" and "Show all"). This was reported for wmf.12 but it's still happening to me right now (seems like wmf.13 was deployed just minutes ago).

Jan 11 2024, 7:36 PM · MW-1.42-notes (1.42.0-wmf.14; 2024-01-16), PageTriage, Wikimedia-production-error

Jan 5 2024

Chlod closed T354393: Lua error: not enough memory. as Invalid.

Caused by on-wiki changes, namely a flood of new version numbers on the Wikidata item for the page. At least it wasn't anything more serious.

Jan 5 2024, 12:14 AM
Chlod created T354393: Lua error: not enough memory..
Jan 5 2024, 12:05 AM

Jan 4 2024

Chlod updated subscribers of T354324: Add external-use API endpoints to CopyPatrol.

We should also make sure to handle cross-origin requests (Access-Control-Allow-Origin), at least for Wikimedia sites. Otherwise, another external tool would be required to call these endpoints whenever they're needed from the browser side. In addition, we'll need to prevent cross-site request forgery (CSRF) through single-use tokens. That probably also needs an endpoint.

Jan 4 2024, 10:00 AM · CopyPatrol
Chlod updated the task description for T354324: Add external-use API endpoints to CopyPatrol.
Jan 4 2024, 10:00 AM · CopyPatrol
Chlod created T354324: Add external-use API endpoints to CopyPatrol.
Jan 4 2024, 9:46 AM · CopyPatrol

Dec 26 2023

Chlod added a comment to T353076: Deprecate and then drop mw.Map, obviated now we require ES6.

For mw.messages and mw.user.{options,tokens} which are indeed stable interfaces, we should be better off temporarily monkey-patching them so that each supports .has. In terms of JS cost, it should be a net positive as the three shims are together smaller than the mw.Map implementation.

Yeah, that seems like a sounder solution.

Dec 26 2023, 12:53 AM · Moderator-Tools-Team, MediaWiki-Platform-Team, MediaWiki-ResourceLoader, Wikidata Dev Team (Wikidata.org Slice), MediaWiki-extensions-WikibaseRepository, wmde-wikidata-tech, MW-1.42-notes (1.42.0-wmf.18; 2024-02-13), Wikidata, PageTriage, Patch-For-Review, Front-end-Standards-Group, MediaWiki-General

Dec 18 2023

Chlod closed T353571: CSD tagging broken, displays an error and doesn't write to user talk (this.map.exists is not a function) as Resolved.

Backported, tested by @MPGuy2824, and messages are being posted now (check; link from @MPGuy2824). Thanks to everyone involved!

Dec 18 2023, 3:14 PM · PageTriage

Dec 16 2023

Chlod moved T353571: CSD tagging broken, displays an error and doesn't write to user talk (this.map.exists is not a function) from Other bugs to Waiting for enwiki deploy on the PageTriage board.
Dec 16 2023, 4:16 PM · PageTriage
Chlod triaged T353571: CSD tagging broken, displays an error and doesn't write to user talk (this.map.exists is not a function) as High priority.

Added to Monday morning's backport window, but I don't have patroller/sysop on testwiki. @Novem_Linguae, @Soda: One of you might have to test the patch instead. Feel free to replace the requesting IRC nick or move the patch to a different window (n.b. I'll be unavailable starting 11:00 UTC as I travel for the holidays, so I won't be able to help test during the afternoon or late backport windows on Dec 18).

Dec 16 2023, 4:15 PM · PageTriage
Chlod claimed T353571: CSD tagging broken, displays an error and doesn't write to user talk (this.map.exists is not a function).
Dec 16 2023, 3:38 PM · PageTriage
Chlod added a comment to T353076: Deprecate and then drop mw.Map, obviated now we require ES6.

I thought mw.Map probably isn't covered by the frontend stable interface policy since it's a private class, but I realized that mw.messages, mw.user.options, and mw.user.tokens all use mw.Map. When the time comes that we shift those to using native JavaScript Maps, we will break a lot of gadgets which call .exists. We should tread carefully when executing this deprecation.

Dec 16 2023, 3:22 PM · Moderator-Tools-Team, MediaWiki-Platform-Team, MediaWiki-ResourceLoader, Wikidata Dev Team (Wikidata.org Slice), MediaWiki-extensions-WikibaseRepository, wmde-wikidata-tech, MW-1.42-notes (1.42.0-wmf.18; 2024-02-13), Wikidata, PageTriage, Patch-For-Review, Front-end-Standards-Group, MediaWiki-General
Chlod added a comment to T353571: CSD tagging broken, displays an error and doesn't write to user talk (this.map.exists is not a function).

Yeah, revert seems easiest. In light of the above, it's probably better to switch from mw.Map to Map when the question of how .exists/.has will be handled is answered, or when we know that core can definitively support native JS maps. Discussing the changes to be made on core seems like it'll take time.

Dec 16 2023, 1:29 PM · PageTriage
Chlod added a comment to T353076: Deprecate and then drop mw.Map, obviated now we require ES6.

We should probably also add in tests to ensure that anything using mw.Map works with normal JS Maps. mw.Message apparently can't handle normal JS Maps, so that ended up breaking PageTriage (see T353571 for details).

Dec 16 2023, 12:42 PM · Moderator-Tools-Team, MediaWiki-Platform-Team, MediaWiki-ResourceLoader, Wikidata Dev Team (Wikidata.org Slice), MediaWiki-extensions-WikibaseRepository, wmde-wikidata-tech, MW-1.42-notes (1.42.0-wmf.18; 2024-02-13), Wikidata, PageTriage, Patch-For-Review, Front-end-Standards-Group, MediaWiki-General
Chlod updated subscribers of T353571: CSD tagging broken, displays an error and doesn't write to user talk (this.map.exists is not a function).

That may be true, but if I'm not going to use an instanceof and will change mw.Message to call .has, it would break every other thing using an mw.Map since it doesn't have a .has function, and we can't search for all use cases doing this to be able to safely switch to using just .has (CodeSearch doesn't find uses in gadgets, userscripts, extensions not hosted on Gerrit, etc.). It's better to add that alias for now to avoid breaking things and for backwards compatibility, and then remove mw.Map as a whole later on, when we've announced its deprecation and we're ready to remove it (tracked in T353076).

Dec 16 2023, 12:37 PM · PageTriage
Chlod added a comment to T353571: CSD tagging broken, displays an error and doesn't write to user talk (this.map.exists is not a function).

Oh, there's actually two solutions to this. One is to revert the aforementioned commit and restore the use of a mw.Map, or change core to ensure that it works with normal JS maps. That itself has two solutions: change the behavior of mw.Message.exists depending on the map used using instanceof, or switch that function to use .has and then add a .has alias on mw.Map which just calls .exists. The latter seems best here, since it means other extensions/tools/etc. would be able to use native JS maps and not fall into the same issue.

Dec 16 2023, 12:17 PM · PageTriage
Chlod added a comment to T353571: CSD tagging broken, displays an error and doesn't write to user talk (this.map.exists is not a function).

@Novem_Linguae It seems to have been broken by this commit. .exists doesn't exist for native JS Maps, but only mw.Map maps. Should be a simple replacement; I'll have a patch filed in a sec.

Dec 16 2023, 12:09 PM · PageTriage

Dec 15 2023

Chlod added a comment to T353491: Add a /repos/gadgets namespace in Wikimedia Gitlab.

We already have some of our repos at Ultraviolet on GitLab, so I can answer a few of @Novem_Linguae's questions based on my experiences working on it.

Dec 15 2023, 2:28 AM · User-brennen, GitLab (Project Migration), Release-Engineering-Team

Dec 7 2023

Chlod added a comment to T352546: Parsoid transformation API in rest.php unusable with mw.Rest.

Thank you for reviewing (and getting them additional reviews) as well, @matmarex! :)

Dec 7 2023, 11:56 PM · MW-1.42-notes (1.42.0-wmf.9; 2023-12-12), Parsoid (Tracking), Content-Transform-Team-WIP, MediaWiki-REST-API

Dec 4 2023

Chlod added a comment to T352628: Fatal exception of type "Wikimedia\Rdbms\DBTransactionSizeError".

From what I've seen on the help desk (1 2 3 since my last comment here), VPT, and TEA (1 2), there's also a mentions of a Wikimedia\Rdbms\DBTransactionSizeError happening intermittently. The issue seems to appear on specific articles, with (as of now) no discernible pattern in what articles are impacted. It also just clears itself after some time, but there's been reports of this as recent as 10 minutes ago.

Dec 4 2023, 1:35 PM · MediaWiki-Categories, Patch-For-Review, MW-1.42-notes (1.42.0-wmf.7; 2023-11-28), DBA, Wikimedia-production-error
Chlod added a comment to T352628: Fatal exception of type "Wikimedia\Rdbms\DBTransactionSizeError".

Also dropping here related request IDs from the help desk:

  • c867a72e-ac5d-4b74-ad11-bd9084c0a12d
  • 3228d684-e259-477d-a359-db71698e5abd
  • bb5ad4fc-e7b2-411b-92a8-78201adada13
Dec 4 2023, 7:06 AM · MediaWiki-Categories, Patch-For-Review, MW-1.42-notes (1.42.0-wmf.7; 2023-11-28), DBA, Wikimedia-production-error

Dec 3 2023

Chlod created M333: Vite + Codex userscript with working hot reload.
Dec 3 2023, 12:43 PM

Dec 2 2023

Chlod added a comment to T352546: Parsoid transformation API in rest.php unusable with mw.Rest.

I've submitted https://gerrit.wikimedia.org/r/979440 to remove the dataType field in mw.Rest AJAX calls. This does, however, mean that any REST endpoint that returns an improper Content-Type header may cause JQuery to return a string for a JSON response. I'm working on https://gerrit.wikimedia.org/r/979441 to add Content-Type checking to REST API tests, so that this could be caught before it has any impact on the client. I'll take it out of WIP when I'm finished.

Dec 2 2023, 6:03 AM · MW-1.42-notes (1.42.0-wmf.9; 2023-12-12), Parsoid (Tracking), Content-Transform-Team-WIP, MediaWiki-REST-API

Dec 1 2023

Chlod added a project to T352546: Parsoid transformation API in rest.php unusable with mw.Rest: Parsoid.

cc Parsoid, since this seems to be an issue specific to the newly-introduced endpoints in T350661.

Dec 1 2023, 3:19 PM · MW-1.42-notes (1.42.0-wmf.9; 2023-12-12), Parsoid (Tracking), Content-Transform-Team-WIP, MediaWiki-REST-API
Chlod updated the task description for T352546: Parsoid transformation API in rest.php unusable with mw.Rest.
Dec 1 2023, 3:17 PM · MW-1.42-notes (1.42.0-wmf.9; 2023-12-12), Parsoid (Tracking), Content-Transform-Team-WIP, MediaWiki-REST-API
Chlod created T352546: Parsoid transformation API in rest.php unusable with mw.Rest.
Dec 1 2023, 3:15 PM · MW-1.42-notes (1.42.0-wmf.9; 2023-12-12), Parsoid (Tracking), Content-Transform-Team-WIP, MediaWiki-REST-API

Nov 30 2023

Chlod added a watcher for PageTriage: Chlod.
Nov 30 2023, 3:26 PM

Nov 23 2023

Chlod added a watcher for MediaWiki-extensions-Gadgets: Chlod.
Nov 23 2023, 2:09 AM

Nov 8 2023

Chlod added a comment to T266798: [Event Platform] Enable canary events for all MediaWiki streams.

Oh, looks like I haven't subscribed to any of those lists. 😅 Re: wikitech-l, Tech News is sent there every week, but it wouldn't hurt to also have a dedicated announcement for it so it's easier to find.

Nov 8 2023, 10:44 PM · User-notice-archive, Data-Engineering (Sprint 6), Patch-For-Review, Analytics, Event-Platform
Chlod added a project to T266798: [Event Platform] Enable canary events for all MediaWiki streams: User-notice.

Think this might be worth a User-notice, given that it affects volunteer-run tools as well (can't definitively call this as I don't have analytics access). Tool maintainers need to update their package versions to properly filter out the canary events (to v2.1.0 for npm@wikimedia-streams and to whichever version closes T350756 for Pywikibot, when it gets closed). Volunteers like me also don't have access to the Slack announcement, so that probably won't be enough to get the word out to volunteer developers.

Nov 8 2023, 5:48 PM · User-notice-archive, Data-Engineering (Sprint 6), Patch-For-Review, Analytics, Event-Platform
Chlod added a subtask for T266798: [Event Platform] Enable canary events for all MediaWiki streams: T350756: Handle canary events in Pywikibot.
Nov 8 2023, 2:35 AM · User-notice-archive, Data-Engineering (Sprint 6), Patch-For-Review, Analytics, Event-Platform
Chlod added a parent task for T350756: Handle canary events in Pywikibot: T266798: [Event Platform] Enable canary events for all MediaWiki streams.
Nov 8 2023, 2:35 AM · Pywikibot
Chlod created T350756: Handle canary events in Pywikibot.
Nov 8 2023, 2:34 AM · Pywikibot

Nov 6 2023

Chlod added a comment to T266798: [Event Platform] Enable canary events for all MediaWiki streams.

@Ottomata Also good here. Canary event filtering was released as part of v2.1.0 in wikimedia-streams, and around a month of time post-announcement should be enough for (maintained) dependent projects to update.

Nov 6 2023, 1:58 AM · User-notice-archive, Data-Engineering (Sprint 6), Patch-For-Review, Analytics, Event-Platform

Oct 27 2023

Chlod added a comment to T266798: [Event Platform] Enable canary events for all MediaWiki streams.

cc @Chlod for JavaScript wikimedia-streams client.

Oct 27 2023, 4:14 PM · User-notice-archive, Data-Engineering (Sprint 6), Patch-For-Review, Analytics, Event-Platform

Oct 5 2023

Chlod added a comment to T348212: Allow copying revert reason after revert failed.

Hmm, perhaps allowing copying isn't the solution here, as it involves another button press. Two things I see that we could do here:

  • Upon finding a new diff, store the saved edit summary, then redirect to the new diff. Upon pressing the rollback button again, pre-fill the text input box with the typed-out reason.
    • This only ever requires local storage (or perhaps IndexedDB), so not so expensive.
  • We could also just steamroll revert the target user's edits, but this could cause some collateral damage.
    • This should only ever be considered if "rollback" was selected instead of "rollback-like" in the options.
    • This applies the revert immediately, unlike the first option which requires another page load.
Oct 5 2023, 6:08 PM · Ultraviolet

Oct 3 2023

Chlod added a member for Trusted-Contributors: Sportzpikachu.
Oct 3 2023, 11:01 AM

Sep 30 2023

Chlod renamed T347763: Page Content Service i18n data is stale from PCS i18n data is stale to Page Content Service i18n data is stale.
Sep 30 2023, 4:34 AM · I18n, Russian-Sites, Wikipedia-iOS-App-Backlog, Wikipedia-Android-App-Backlog, Page Content Service
Chlod added a project to T347763: Page Content Service i18n data is stale: Wikipedia-Android-App-Backlog.

Adding in Wikipedia-Android-App-Backlog here since the Android app is affected. Haven't tested on iOS (as I don't have an iOS device). Page Content Service only has two members and one watcher, so there may not be a lot of traction if this were the only tag on the task.

Sep 30 2023, 4:31 AM · I18n, Russian-Sites, Wikipedia-iOS-App-Backlog, Wikipedia-Android-App-Backlog, Page Content Service

Sep 29 2023

Chlod updated the task description for T347763: Page Content Service i18n data is stale.
Sep 29 2023, 7:48 PM · I18n, Russian-Sites, Wikipedia-iOS-App-Backlog, Wikipedia-Android-App-Backlog, Page Content Service
Chlod created T347763: Page Content Service i18n data is stale.
Sep 29 2023, 7:37 PM · I18n, Russian-Sites, Wikipedia-iOS-App-Backlog, Wikipedia-Android-App-Backlog, Page Content Service

Sep 28 2023

Chlod awarded Blog Post: sentencex: Empowering NLP with Multilingual Sentence Extraction a Love token.
Sep 28 2023, 9:37 AM

Sep 25 2023

Chlod updated the task description for T347288: CopyPatrol inaccessible due to internal error.
Sep 25 2023, 12:32 PM · Community-Tech (CommTech-Kanban), CopyPatrol
Chlod created T347288: CopyPatrol inaccessible due to internal error.
Sep 25 2023, 12:29 PM · Community-Tech (CommTech-Kanban), CopyPatrol

Sep 15 2023

Chlod updated the task description for T346412: Make GitHub @wikimedia avatar background non-transparent so it's visible in browsers' dark mode.
Sep 15 2023, 2:50 AM · Release-Engineering-Team (Priority Backlog 📥), Wikimedia-GitHub
Chlod created T346412: Make GitHub @wikimedia avatar background non-transparent so it's visible in browsers' dark mode.
Sep 15 2023, 2:47 AM · Release-Engineering-Team (Priority Backlog 📥), Wikimedia-GitHub

Aug 30 2023

Quiddity awarded T115939: Cannot select date from calendar inside Media upload dialog when the browser window is resized in a way that it overlaps with the calendar a Love token.
Aug 30 2023, 4:55 PM · MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), MediaWiki-User-Interface (mediawiki.widgets), Editing-team, MediaWiki-Uploading, VisualEditor-MediaWiki-Media, Multimedia, VisualEditor
Chlod claimed T115939: Cannot select date from calendar inside Media upload dialog when the browser window is resized in a way that it overlaps with the calendar.
Aug 30 2023, 6:50 AM · MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), MediaWiki-User-Interface (mediawiki.widgets), Editing-team, MediaWiki-Uploading, VisualEditor-MediaWiki-Media, Multimedia, VisualEditor

Aug 29 2023

Chlod added a comment to T115939: Cannot select date from calendar inside Media upload dialog when the browser window is resized in a way that it overlaps with the calendar.

Will submit the patch in a bit, thanks for checking it out! 😀

Aug 29 2023, 11:41 PM · MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), MediaWiki-User-Interface (mediawiki.widgets), Editing-team, MediaWiki-Uploading, VisualEditor-MediaWiki-Media, Multimedia, VisualEditor

Aug 28 2023

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

I was the one screaming pre-emptively on le Discord, previous comment about this on T334238#9119834. I didn't even know that this was the right task to make the comment on. 🤦

Aug 28 2023, 5:00 AM · Parsoid, RESTBase Sunsetting

Aug 25 2023

Chlod added a comment to T334238: Create deprecation plan for public parsoid endpoints.

Going to pop in here and stay ahead of breaking things for editors (since that seems to be the plan with T335513).

Aug 25 2023, 10:24 AM · Parsoid (Tracking), Content-Transform-Team-WIP, RESTBase Sunsetting
Chlod updated the task description for T344940: Add option to manipulate CalendarWidget in DateInputWidget config options.
Aug 25 2023, 7:06 AM · MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), MediaWiki-User-Interface (mediawiki.widgets), JavaScript