Page MenuHomePhabricator

Chlod (Chlod Alejandro)
Volunteer Magician

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Sunday

  • Clear sailing ahead.

User Details

User Since
Jul 4 2020, 4:40 AM (216 w, 6 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

Yesterday

Chlod removed a project from T368868: Set logos for new wikis: Patch-For-Review.
Thu, Aug 29, 8:50 PM · Wikimedia-Site-requests
Chlod closed T368868: Set logos for new wikis as Resolved.

Deployed!

Thu, Aug 29, 8:48 PM · Wikimedia-Site-requests
Chlod added a comment to T368868: Set logos for new wikis.

Verified that all these logos look good. Will schedule for the UTC late backport window today.

Thu, Aug 29, 7:20 AM · Wikimedia-Site-requests

Mon, Aug 26

Chlod closed T373269: Tech Contribs does not support parentheses in user names as Resolved.

Deployed!

Mon, Aug 26, 8:17 AM · Tool-techcontribs

Sun, Aug 25

Chlod added a comment to T373269: Tech Contribs does not support parentheses in user names.

Looks like it was a bad character escaping issue, and the fact that parentheses weren't part of the escaped characters list. I've replaced the mediocre escaping method with a better (and probably overkill one) at 91d736da. I would deploy this now, but it seems like Toolforge Build Service had other plans (T373243). Will deploy whenever able.

Sun, Aug 25, 11:06 PM · Tool-techcontribs
Chlod added a comment to T373243: DNS on toolforge kubernetes seems to fail regularly (20-25% of the time at least).

Noting here that I'm unable to use Build Service, probably due to the same issue. Related log line:

[step-clone] 2024-08-25T22:59:56.754700588Z {"level":"error","ts":1724626796.754072,"caller":"git/git.go:55","msg":"Error running git [fetch --recurse-submodules=yes --depth=1 origin --update-head-ok --force ]: exit status 128\nfatal: unable to access 'https://gitlab.wikimedia.org/toolforge-repos/techcontribs/': Could not resolve host: gitlab.wikimedia.org\n","stacktrace":"github.com/tektoncd/pipeline/pkg/git.run\n\tgithub.com/tektoncd/pipeline/pkg/git/git.go:55\ngithub.com/tektoncd/pipeline/pkg/git.Fetch\n\tgithub.com/tektoncd/pipeline/pkg/git/git.go:150\nmain.main\n\tgithub.com/tektoncd/pipeline/cmd/git-init/main.go:53\nruntime.main\n\truntime/proc.go:255"}
Sun, Aug 25, 11:03 PM · Toolforge (Toolforge iteration 14)
Chlod closed T373272: Tech Contribs can't show user Quiddity as Resolved.

Looks like it was because of a missing check prior to showing the activity chart. This affects anyone with historical contributions, but no patches owned, uploaded, or reviewed in the past year. This should be fixed with 749a84e (+ changes from 4bf3d68, because I accidentally rebased them onto the wrong patch affecting the activity chart :facepalm:), which has been deployed.

Sun, Aug 25, 10:11 PM · Tool-techcontribs

Sat, Aug 24

Chlod set the image for Tool-techcontribs to F57291433: profile.
Sat, Aug 24, 9:08 PM
Chlod edited Description on Tool-techcontribs.
Sat, Aug 24, 9:07 PM

Tue, Aug 20

Chlod added a comment to T368868: Set logos for new wikis.

Tried to deploy with Clare earlier, but there were issues with some of the files:

  • Wikisource Georgian's wordmark has some untrimmed spaces on the side which is causing it to overflow into the search bar. The font of the Commons version also differs from the one on the logo; is this intentional? Might have to follow up with the uploader and/or reupload the mark as extracted from the logo.
  • Wiktionary Karakalpak's logo was too far to the left. There appeared to be some untrimmed excess on the right side from even before the file was resized.

In the interest of safety and double-checking, I decided not to proceed with attempting to deploy the rest of the patches. However, taking a look at the image files for the rest of the wikis, those should be fine and good to go. I'll triple check again tomorrow (a few hours). Will refile kawikisource and kaawiktionary patches, and then upload new patchsets for the other wikis as needed.

Tue, Aug 20, 9:38 PM · Wikimedia-Site-requests
Chlod renamed T372853: Create an API which returns a specific user's current Wikipedia Library access eligibility from Ability to check if a user has TWL access through API to Add ability to check if a user has TWL access through API.
Tue, Aug 20, 2:22 AM · Moderator-Tools-Team, The-Wikipedia-Library
Chlod created T372853: Create an API which returns a specific user's current Wikipedia Library access eligibility.
Tue, Aug 20, 2:19 AM · Moderator-Tools-Team, The-Wikipedia-Library

Mon, Aug 19

Chlod claimed T368868: Set logos for new wikis.

It doesn't seem like Superpes has been active recently, so I'm reassigning this to myself to get the other logos done. This task seems to have been mostly inactive for almost two months and it'd be nice to finally get this done for the communities of those wikis.

Mon, Aug 19, 11:07 PM · Wikimedia-Site-requests

Sun, Aug 18

Chlod updated the task description for T368868: Set logos for new wikis.
Sun, Aug 18, 8:09 PM · Wikimedia-Site-requests

Thu, Aug 15

Chlod added a comment to T372531: External link tags show up as wikitext.

PR for this filed at https://github.com/wikimedia/CopyPatrol/pull/185

Thu, Aug 15, 7:55 PM · Community-Tech, CopyPatrol
Chlod created T372531: External link tags show up as wikitext.
Thu, Aug 15, 7:12 AM · Community-Tech, CopyPatrol

Tue, Aug 13

Chlod added a comment to T370974: Create an 'advance mode' design for the Nuke extension's functionality.

Indeed it was me. I think we also discussed if it was possible to use MediaViewer with TheDJ? Not sure if there was anything specifically blocking, though.

Tue, Aug 13, 9:27 AM · Design, Moderator-Tools-Team, Codex, Design-System-Team, MediaWiki-extensions-Nuke, User-Ladsgroup

Sat, Aug 10

srishakatux awarded T372031: Set logos for new Malaysian wikis a Love token.
Sat, Aug 10, 1:15 PM · Wikimedia-Site-requests, Wikimania-Hackathon-2024
Chlod added a comment to T368868: Set logos for new wikis.

@Superpes15 Still planning to work on this soon? I can work on the rest if you're not; no pressure though.

Sat, Aug 10, 11:50 AM · Wikimedia-Site-requests

Thu, Aug 8

Chlod added a comment to T365922: Make the old revisions notice banner position: sticky.

Testing this out, there's two issues which make it a bit harder than just adding position: sticky; top: XXXpx:

  1. Images are overlapping the header; z-index issue.
  2. Following links to section headers leads to the section header appearing under the now-sticky header. This could be fixed with an offset; Vector '22 already does this to avoid the section headers appearing below the sticky header. I can't find the code for this though, so I have no clue how it's currently already being done.
Thu, Aug 8, 8:38 PM · MediaWiki-User-Interface
Chlod added a comment to T372031: Set logos for new Malaysian wikis.

Done. Thank you, @TheresNoTime!

Thu, Aug 8, 12:25 PM · Wikimedia-Site-requests, Wikimania-Hackathon-2024
Chlod closed T372031: Set logos for new Malaysian wikis as Resolved.
Thu, Aug 8, 12:24 PM · Wikimedia-Site-requests, Wikimania-Hackathon-2024
Soda awarded T372031: Set logos for new Malaysian wikis a Fox token.
Thu, Aug 8, 9:07 AM · Wikimedia-Site-requests, Wikimania-Hackathon-2024
Chlod added a comment to T368868: Set logos for new wikis.

Splitting off mswikisource and dtpwiki into T372031, since this was something someone at the Wikimania Hackathon approached me with. Will get that done today.

Thu, Aug 8, 8:48 AM · Wikimedia-Site-requests
Chlod updated the task description for T368868: Set logos for new wikis.
Thu, Aug 8, 8:44 AM · Wikimedia-Site-requests
Chlod created T372031: Set logos for new Malaysian wikis.
Thu, Aug 8, 8:43 AM · Wikimedia-Site-requests, Wikimania-Hackathon-2024

Wed, Aug 7

Chlod updated subscribers of T12814: Delete and move warning should be displayed for associated talk pages.
Wed, Aug 7, 2:49 PM · MW-1.43-notes (1.43.0-wmf.7; 2024-05-28), MediaWiki-Page-rename

Tue, Aug 6

Chlod updated the task description for T369232: Volunteering: opening ceremony & closing showcase documentation for Hackathon.
Tue, Aug 6, 2:07 PM · Wikimania-Hackathon-2024

May 21 2024

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... 😅

May 21 2024, 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

May 18 2024

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

May 15 2024

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?

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

May 13 2024

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.

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

May 11 2024

Chlod added a watcher for MediaWiki-extensions-Nuke: Chlod.
May 11 2024, 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.
May 11 2024, 10:01 AM · Moderator-Tools-Team, MediaWiki-extensions-Nuke
Chlod created T364671: File deletion reasons do not show up when attempting to nuke pages.
May 11 2024, 10:00 AM · Moderator-Tools-Team, MediaWiki-extensions-Nuke

May 10 2024

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

May 5 2024

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

May 4 2024

Chlod added a project to T338768: Allow more granular start and end time of campaigns: Wikimedia-Hackathon-2024.
May 4 2024, 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.
May 4 2024, 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.

May 4 2024, 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 T364144 finally gets worked on.

May 4 2024, 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

May 3 2024

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.

May 3 2024, 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.

May 3 2024, 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.
May 3 2024, 2:57 PM · MediaWiki-extensions-Nuke, Moderator-Tools-Team
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).

May 3 2024, 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.
May 3 2024, 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.

May 3 2024, 12:07 PM · User-notice-archive, Moderator-Tools-Team (Kanban), MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), 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.

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

Apr 29 2024

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

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

Apr 29 2024, 11:28 AM · 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.

Apr 29 2024, 11:24 AM · Ultraviolet

Apr 22 2024

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).

Apr 22 2024, 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 · Patch-For-Review, Ultraviolet
Chlod updated the task description for T333548: Write unit/integration tests for Ultraviolet.
Apr 17 2024, 7:59 AM · Patch-For-Review, 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 · MediaWiki-Platform-Team (Radar), MediaWiki-ResourceLoader, Front-end-Standards-Group

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 · MediaWiki-Platform-Team (Radar), MediaWiki-ResourceLoader, Front-end-Standards-Group
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 · MediaWiki-Platform-Team (Radar), MediaWiki-ResourceLoader, Front-end-Standards-Group
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