Page MenuHomePhabricator

matmarex (Bartosz Dziewoński)
Software Engineer

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Friday

  • Clear sailing ahead.

User Details

User Since
Oct 17 2014, 6:53 PM (552 w, 4 d)
Availability
Available
IRC Nick
MatmaRex
LDAP User
Bartosz Dziewoński
MediaWiki User
Matma Rex [ Global Accounts ]

Recent Activity

Yesterday

matmarex closed T393837: Wikilinks where the link target is a <tvar> are always marked as changed in visual diffs as Resolved.

Verified

Tue, May 20, 11:58 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), MediaWiki-extensions-Translate, VisualEditor-VisualDiffs, VisualEditor
matmarex updated the task description for T394565: Migrate some uses of BeforeCreateEchoEvent hook to extension attributes.
Tue, May 20, 11:35 PM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), MediaWiki-Platform-Team, Notifications (Echo), Growth-Team, MediaWiki-Notifications
matmarex moved T394564: Migrate some uses of EchoGetDefaultNotifiedUsers hook to locators from In progress to Blocked/waiting on the MediaWiki-Platform-Team board.
Tue, May 20, 11:25 PM · Patch-For-Review, MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), Technical-Debt, MediaWiki-Platform-Team, Notifications (Echo), Growth-Team, MediaWiki-Notifications
matmarex added a comment to T394564: Migrate some uses of EchoGetDefaultNotifiedUsers hook to locators.

Those 2 were the only extensions deployed on Wikimedia wikis.

Tue, May 20, 10:18 PM · Patch-For-Review, MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), Technical-Debt, MediaWiki-Platform-Team, Notifications (Echo), Growth-Team, MediaWiki-Notifications
matmarex added a comment to T392232: Deploy Notifications for 2025 Board of Trustees election.

@jrbs upon further discussion we'd like to have the email notification enabled -- is this something that you could change from your side?

Tue, May 20, 9:47 PM · WikimediaMessages, Patch-For-Review, Wikimedia-Hackathon-2025, Growth-Team, Notifications (Echo)
matmarex added a comment to T353005: Login warning message is cut off.

Is this is how the form is intended to look after the change?

image.png (693×739 px, 27 KB)
Tue, May 20, 9:34 PM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), Growth-Team, Patch-For-Review, Design-System-Team, Design, MediaWiki-User-login-and-signup, good first task
matmarex added a project to T393667: OutputPage::getRevisionTimestamp() does not always return the timestamp of the revision being shown: Content-Transform-Team.
Tue, May 20, 7:49 PM · Content-Transform-Team, MediaWiki-Parser
matmarex edited projects for T393667: OutputPage::getRevisionTimestamp() does not always return the timestamp of the revision being shown, added: MediaWiki-Parser; removed MediaWiki-General.

The timestamp comes from ParserOutput, I guess…

Tue, May 20, 7:48 PM · Content-Transform-Team, MediaWiki-Parser
matmarex closed T394576: Migrate AbuseFilter to use the default recipients locator as Resolved.

Thanks!

Tue, May 20, 5:32 PM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), AbuseFilter
matmarex closed T394576: Migrate AbuseFilter to use the default recipients locator, a subtask of T387474: Migrate more extensions to use the default recipients locator, as Resolved.
Tue, May 20, 5:32 PM · Growth-Team, Notifications (Echo), MediaWiki-Notifications
matmarex claimed T391646: Analyze "temporary logging for T372702" data and then stop logging it.
Tue, May 20, 3:54 PM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth
matmarex assigned T325703: Switch Echo serialization format from PHP to JSON to pmiazga.
Tue, May 20, 3:16 PM · MediaWiki-Platform-Team, MW-1.44-notes (1.44.0-wmf.25; 2025-04-15), PHP 9.0 support, Notifications (Echo), Growth-Team
matmarex closed T306207: Parsoid always deletes first table row wikitext (`|-`), even if it has attributes (`|- valign-top`) as Resolved.

Verified locally using the steps from T306207#10786194.

Tue, May 20, 2:45 PM · Parsoid, VisualEditor
Jdforrester-WMF awarded T387475: Migrate some uses of Echo hooks to static registries a Love token.
Tue, May 20, 1:14 PM · Notifications (Echo), MediaWiki-Notifications, Growth-Team

Mon, May 19

matmarex closed T379505: "Expected key {key} not found due to timeout" CentralAuth error is spammy, a subtask of T394402: Reduce noisy auth logs, as Resolved.
Mon, May 19, 8:34 PM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), Patch-For-Review, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team, MediaWiki-Core-AuthManager
matmarex closed T379505: "Expected key {key} not found due to timeout" CentralAuth error is spammy as Resolved.

This code was removed completely in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CentralAuth/+/1130751, there are no more errors logged since then.

Mon, May 19, 8:34 PM · MW-1.44-notes (1.44.0-wmf.12; 2025-01-14), MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth
matmarex claimed T392017: SharedDomainHookHandlerTest::testOnSiteNoticeBefore variants are broken in some test environments.
Mon, May 19, 4:43 PM · Patch-For-Review, MW-1.44-notes (1.44.0-wmf.27; 2025-04-29), MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team

Sat, May 17

matmarex added a comment to T393376: Automatically abandon old changes after some time.

Please don't automatically abandon changes just because they are old. I've had that happen when trying to contribute to other open source projects (I've also had my bug reports closed just because they were old) and it was very discouraging.

Sat, May 17, 8:16 PM · Gerrit, Release-Engineering-Team, collaboration-services
matmarex closed T309660: VisualEditor not working under fresh install of mediawiki-1.37.2 when HTTP is not enabled, a subtask of T305108: Zero Config Install of VE + Parsoid for MW 1.39, as Declined.
Sat, May 17, 7:31 PM · MW-1.39-notes (1.39.0-wmf.14; 2022-05-30), Editing-team (Tracking), Parsoid (Third-party), MW-1.39-release, VisualEditor
matmarex closed T309660: VisualEditor not working under fresh install of mediawiki-1.37.2 when HTTP is not enabled as Declined.
Sat, May 17, 7:31 PM · TestMe, MW-1.39-release, Editing-team (Tracking), VisualEditor
matmarex added a comment to T185360: [mobile] the counter for seen Alerts/Notices is not displayed correctly.

Well… I think it'd be better to show the counter. But it's up to y'all to declare that this is expected 🤷‍♂️

Sat, May 17, 7:30 PM · Growth-Team-Filtering, MinervaNeue (Tracking), Growth-Team, Notifications (Echo)
matmarex moved T394564: Migrate some uses of EchoGetDefaultNotifiedUsers hook to locators from Inbox, needs triage to In progress on the MediaWiki-Platform-Team board.
Sat, May 17, 4:45 AM · Patch-For-Review, MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), Technical-Debt, MediaWiki-Platform-Team, Notifications (Echo), Growth-Team, MediaWiki-Notifications
matmarex moved T394565: Migrate some uses of BeforeCreateEchoEvent hook to extension attributes from Inbox, needs triage to In progress on the MediaWiki-Platform-Team board.
Sat, May 17, 4:45 AM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), MediaWiki-Platform-Team, Notifications (Echo), Growth-Team, MediaWiki-Notifications
matmarex moved T385839: Allow Echo to handle unknown notifications from Needs refinement to In progress on the MediaWiki-Platform-Team board.
Sat, May 17, 4:45 AM · Patch-For-Review, MediaWiki-Platform-Team, Growth-Team, Notifications (Echo), MediaWiki-Notifications
matmarex moved T385839: Allow Echo to handle unknown notifications from Triaged to Tracking on the Growth-Team board.
Sat, May 17, 4:45 AM · Patch-For-Review, MediaWiki-Platform-Team, Growth-Team, Notifications (Echo), MediaWiki-Notifications
matmarex moved T387474: Migrate more extensions to use the default recipients locator from Triaged to Tracking on the Growth-Team board.
Sat, May 17, 4:45 AM · Growth-Team, Notifications (Echo), MediaWiki-Notifications
matmarex moved T394564: Migrate some uses of EchoGetDefaultNotifiedUsers hook to locators from Inbox to Tracking on the Growth-Team board.
Sat, May 17, 4:45 AM · Patch-For-Review, MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), Technical-Debt, MediaWiki-Platform-Team, Notifications (Echo), Growth-Team, MediaWiki-Notifications
matmarex moved T394565: Migrate some uses of BeforeCreateEchoEvent hook to extension attributes from Inbox to Tracking on the Growth-Team board.
Sat, May 17, 4:45 AM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), MediaWiki-Platform-Team, Notifications (Echo), Growth-Team, MediaWiki-Notifications
matmarex moved T387475: Migrate some uses of Echo hooks to static registries from Triaged to Tracking on the Growth-Team board.
Sat, May 17, 4:44 AM · Notifications (Echo), MediaWiki-Notifications, Growth-Team
matmarex claimed T394565: Migrate some uses of BeforeCreateEchoEvent hook to extension attributes.
Sat, May 17, 4:44 AM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), MediaWiki-Platform-Team, Notifications (Echo), Growth-Team, MediaWiki-Notifications
matmarex claimed T394564: Migrate some uses of EchoGetDefaultNotifiedUsers hook to locators.
Sat, May 17, 4:43 AM · Patch-For-Review, MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), Technical-Debt, MediaWiki-Platform-Team, Notifications (Echo), Growth-Team, MediaWiki-Notifications
matmarex closed T393599: Move "welcome" notification trigger to MediaWiki, a subtask of T383979: WE5.2.10: Implement an interface for notifications in MediaWiki core, as Resolved.
Sat, May 17, 2:49 AM · MediaWiki-Notifications, Goal, OKR-Work, MediaWiki-Platform-Team (Roadmap)
matmarex closed T393599: Move "welcome" notification trigger to MediaWiki as Resolved.
Sat, May 17, 2:49 AM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Growth-Team, Notifications (Echo), MediaWiki-Notifications, MediaWiki-Platform-Team (Roadmap)
matmarex created T394565: Migrate some uses of BeforeCreateEchoEvent hook to extension attributes.
Sat, May 17, 12:42 AM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), MediaWiki-Platform-Team, Notifications (Echo), Growth-Team, MediaWiki-Notifications
matmarex created T394564: Migrate some uses of EchoGetDefaultNotifiedUsers hook to locators.
Sat, May 17, 12:42 AM · Patch-For-Review, MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), Technical-Debt, MediaWiki-Platform-Team, Notifications (Echo), Growth-Team, MediaWiki-Notifications
matmarex added a comment to T353339: Add support for dynamic placeholder replacement in logger..

I feel like this idea is mostly covered by the newly added "global log context": T142313: Add global information to debug logger context

Sat, May 17, 12:15 AM · MediaWiki-Platform-Team (Roadmap), Patch-For-Review, MediaWiki-Debug-Logger

Fri, May 16

matmarex renamed T110356: Add documentation for Echo hooks from Add documentation file for Echo hooks to Add documentation for Echo hooks.
Fri, May 16, 11:26 PM · Growth-Team-Filtering, Growth-Team, Notifications (Echo), Documentation
matmarex updated the task description for T110356: Add documentation for Echo hooks.
Fri, May 16, 11:26 PM · Growth-Team-Filtering, Growth-Team, Notifications (Echo), Documentation
matmarex added a comment to T331086: Watchlist doesn't word wrap for very long words/links.

As reported at https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#First_watchlist_item_messed_up, this change has an unintended effect on narrow screens, due to the legend box reducing available space. The patch I proposed should fix that.

Fri, May 16, 10:57 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Moderator-Tools-Team (Kanban), CSS, MediaWiki-Watchlist
matmarex added a comment to T299229: Give skins to an option to unsplit Alerts and Messages.

I've done some work in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Echo/+/1125608 and https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Echo/+/1147068 to make Minerva less of a special case. It should be feasible now to introduce such an option.

Fri, May 16, 10:12 PM · Growth-Team, Notifications (Echo)
matmarex added a comment to T394537: Unable to switch from "Source Editing" to "Visual editing".

Not really. The error message indicates a bug somewhere else in the editor – it's a last-minute check that was added to prevent data corruption if something tries to load the wikitext source into the visual editor, or the other way round. (To be clear, it's a VE bug, not a user error.) But where the problem with that something is happening, I do not know.

Fri, May 16, 6:29 PM · Editing-team (Kanban Board), VisualEditor, VisualEditor-EditingTools
matmarex added a comment to T394537: Unable to switch from "Source Editing" to "Visual editing".

(the very first time this happened an error popped up. Regrettably, I did not write it down or take a screen shot, and the error has not reappeared since. My recollection is it was something about being "in the wrong mode 'source editor'")

Fri, May 16, 6:13 PM · Editing-team (Kanban Board), VisualEditor, VisualEditor-EditingTools

Thu, May 15

matmarex closed Restricted Task, a subtask of T2212: Some MediaWiki: messages not safe in HTML (tracking), as Declined.
Thu, May 15, 12:07 AM · Tracking-Neverending, I18n, MediaWiki-Internationalization
matmarex closed T2212: Some MediaWiki: messages not safe in HTML (tracking) as Resolved.

There are no more messages in MediaWiki known to be used as raw HTML output. If you discover one, please file a security bug.

Thu, May 15, 12:05 AM · Tracking-Neverending, I18n, MediaWiki-Internationalization

Wed, May 14

matmarex closed T376295: Remove deprecated raw HTML localisation messages 'copyright' and 'history_copyright' and the hook 'SkinCopyrightFooter', a subtask of T2212: Some MediaWiki: messages not safe in HTML (tracking), as Resolved.
Wed, May 14, 11:50 PM · Tracking-Neverending, I18n, MediaWiki-Internationalization
matmarex closed T376295: Remove deprecated raw HTML localisation messages 'copyright' and 'history_copyright' and the hook 'SkinCopyrightFooter' as Resolved.
Wed, May 14, 11:50 PM · MW-1.44-notes, MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), MediaWiki-Core-Skin-Architecture, MediaWiki-Internationalization, I18n
matmarex closed T373772: echo notifications badge icon is misaligned vertically on vector when lang is ky as Resolved.

This was caused by a typo in translation, fixed in this change: https://translatewiki.net/w/i.php?title=MediaWiki:Echo-notification-alert/ky&diff=prev&oldid=13085062

Wed, May 14, 8:49 PM · Growth-Team, Notifications (Echo)
matmarex closed T371756: [1.45] Remove wgParserEnableLegacyHeadingDOM option to disable new heading HTML as Resolved.
Wed, May 14, 8:44 PM · MW-1.44-notes, MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Web-Team, Web Team Essential Work 2025 (Parsoid migration), MW-1.45-release, MediaWiki-Core-Skin-Architecture, MediaWiki-Parser
matmarex added a comment to T371756: [1.45] Remove wgParserEnableLegacyHeadingDOM option to disable new heading HTML.

Updated documentation:

Wed, May 14, 8:44 PM · MW-1.44-notes, MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Web-Team, Web Team Essential Work 2025 (Parsoid migration), MW-1.45-release, MediaWiki-Core-Skin-Architecture, MediaWiki-Parser
matmarex renamed T142151: Number of notifications on bell badge doesn't change when marking notifications read/unread on the special page from Number of notifications on bell badge doesn't change when marking notifications read/unread to Number of notifications on bell badge doesn't change when marking notifications read/unread on the special page.
Wed, May 14, 7:56 PM · Growth-Team-Filtering, Growth-Team, Notifications (Echo)
matmarex closed T393849: MergeHistory does not update derived page data as Resolved.
Wed, May 14, 7:44 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), MW-Interfaces-Team, MediaWiki-MergeHistory
matmarex closed T384064: Removing ConfirmEdit class aliases breaks $wgCaptchaClass as Resolved.
Wed, May 14, 5:08 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), MW-1.44-release, ConfirmEdit (CAPTCHA extension)

Tue, May 13

matmarex claimed T376295: Remove deprecated raw HTML localisation messages 'copyright' and 'history_copyright' and the hook 'SkinCopyrightFooter'.
Tue, May 13, 8:07 PM · MW-1.44-notes, MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), MediaWiki-Core-Skin-Architecture, MediaWiki-Internationalization, I18n
matmarex added a comment to T45646: "MediaWiki:Copyright" message allows raw HTML.

Done: https://www.mediawiki.org/w/index.php?title=Manual:$wgAllowRawHtmlCopyrightMessages&diff=prev&oldid=7629509

Tue, May 13, 7:54 PM · MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Patch-For-Review, JsonConfig, WikimediaMessages, MediaWiki-Platform-Team, SUL3, I18n, Security, MW-1.32-notes (WMF-deploy-2018-08-28 (1.32.0-wmf.19)), Vuln-XSS, MediaWiki-General
matmarex added a comment to T393837: Wikilinks where the link target is a <tvar> are always marked as changed in visual diffs.

Isn’t this exactly the kind of markup that gets converted to {{1x|xxx}} when I save the edit? Or does that conversion happen in PHP, and we have no JS implementation for doing so?

Tue, May 13, 7:49 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), MediaWiki-extensions-Translate, VisualEditor-VisualDiffs, VisualEditor
matmarex edited projects for T354967: Notifications are not usable or accessible, added: MediaWiki-User-Interface (mw.notifications); removed Vector 2022 (Desktop improvements) (Tracking).
Tue, May 13, 7:19 PM · MediaWiki-User-Interface (mw.notifications)
matmarex added a comment to T393985: I am blocked from accessing the beta cluster.

I see there's already a task about noc@ being a dead end: T393404.

Tue, May 13, 7:18 PM · Beta-Cluster-Infrastructure
matmarex created T394091: Vector 2022 user menu icons are smaller and blurry.
Tue, May 13, 7:10 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Design-System-Team (DST-Sprint-47 (2025-05-12 to 2025-05-23)), CSS, Design, Codex, Vector 2022 (Desktop improvements)
matmarex closed T391951: Switch `Event::serializeExtra()` to use JSONCodec instead of PHP's `serialize()`, a subtask of T325703: Switch Echo serialization format from PHP to JSON, as Resolved.
Tue, May 13, 6:39 PM · MediaWiki-Platform-Team, MW-1.44-notes (1.44.0-wmf.25; 2025-04-15), PHP 9.0 support, Notifications (Echo), Growth-Team
matmarex closed T391951: Switch `Event::serializeExtra()` to use JSONCodec instead of PHP's `serialize()` as Resolved.
Tue, May 13, 6:39 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), PHP 9.0 support, Notifications (Echo), Growth-Team
matmarex added a comment to T393983: `Error: Class "Wikimedia\Parsoid\Wt2Html\XMLSerializer" not found` in PHPUnit tests.

(sent too early) As for the "right" way to solve this, I think there isn't really one, but there are workarounds:

  • Just list all of the aliases explicitly in "autoload" in your composer.json. At that point it's probably easier to also keep the class_alias in the same file as the real class. This shouldn't be too bad if you don't have many of them.
  • Do this silly thing, which I just accidentally found by codesearching for "classmap-authoritative". I suppose this fake class definition makes Composer find it when generating its classmap. I wonder if it breaks Phan or IDEs…
Tue, May 13, 5:08 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), DiscussionTools, ci-test-error (WMF-deployed Build Failure), Parsoid
matmarex added a comment to T393983: `Error: Class "Wikimedia\Parsoid\Wt2Html\XMLSerializer" not found` in PHPUnit tests.

The missing piece of the puzzle is the fact that in the mediawiki/vendor repo, composer.json uses "classmap-authoritative": true:

Tue, May 13, 5:03 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), DiscussionTools, ci-test-error (WMF-deployed Build Failure), Parsoid
matmarex closed T390751: SUL3 broke the ability to send new user's password via email as Resolved.

Following instructions in the commit message, I was able to create an account using API sandbox with password sent via email: https://test.wikipedia.org/w/index.php?title=Special:Log&logid=424666

Tue, May 13, 1:40 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MW-1.44-notes (1.44.0-wmf.28; 2025-05-06), SUL3, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team, Education-Program-Dashboard
matmarex closed T387050: Echo error logging: "Invalid IP agent: d>~2025-10730 for event type minor-watchlist-change" as Resolved.
Tue, May 13, 1:24 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Trust and Safety Product Team, Temporary accounts, Wikidata, Growth-Team, Notifications (Echo)
matmarex added a comment to T390751: SUL3 broke the ability to send new user's password via email.

Sorry it took us a while to get to this. The fix would be deployed next week per the usual schedule. I wonder if we should backport it earlier?

Tue, May 13, 5:00 AM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MW-1.44-notes (1.44.0-wmf.28; 2025-05-06), SUL3, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team, Education-Program-Dashboard
matmarex closed T393606: Loading CentralAuthUser for user ~* from cache object as Resolved.
Tue, May 13, 4:59 AM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Trust and Safety Product Team, Temporary accounts, MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth
matmarex created T393985: I am blocked from accessing the beta cluster.
Tue, May 13, 4:15 AM · Beta-Cluster-Infrastructure
matmarex added a parent task for T393983: `Error: Class "Wikimedia\Parsoid\Wt2Html\XMLSerializer" not found` in PHPUnit tests: T392171: 1.45.0-wmf.1 deployment blockers.
Tue, May 13, 2:55 AM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), DiscussionTools, ci-test-error (WMF-deployed Build Failure), Parsoid
matmarex added a subtask for T392171: 1.45.0-wmf.1 deployment blockers: T393983: `Error: Class "Wikimedia\Parsoid\Wt2Html\XMLSerializer" not found` in PHPUnit tests.
Tue, May 13, 2:55 AM · Essential-Work, Release-Engineering-Team (Priority Backlog 📥), Release, Train Deployments
matmarex reopened T393983: `Error: Class "Wikimedia\Parsoid\Wt2Html\XMLSerializer" not found` in PHPUnit tests as "Open".

Ugh, needs backporting.

Tue, May 13, 2:54 AM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), DiscussionTools, ci-test-error (WMF-deployed Build Failure), Parsoid
matmarex closed T393983: `Error: Class "Wikimedia\Parsoid\Wt2Html\XMLSerializer" not found` in PHPUnit tests as Resolved.
Tue, May 13, 2:53 AM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), DiscussionTools, ci-test-error (WMF-deployed Build Failure), Parsoid
matmarex added a comment to T393983: `Error: Class "Wikimedia\Parsoid\Wt2Html\XMLSerializer" not found` in PHPUnit tests.

There is a class_alias, but Composer doesn't support generating autoload data for class aliases, so the class is not loaded when the alias is used.

Tue, May 13, 2:42 AM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), DiscussionTools, ci-test-error (WMF-deployed Build Failure), Parsoid
matmarex claimed T393983: `Error: Class "Wikimedia\Parsoid\Wt2Html\XMLSerializer" not found` in PHPUnit tests.

Caused by rGPAReeabc4a0c220: Rename XMLSerializer to XHtmlSerializer / rMW1be5b7585b97: Bump wikimedia/parsoid to 0.22.0-a2

Tue, May 13, 2:23 AM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), DiscussionTools, ci-test-error (WMF-deployed Build Failure), Parsoid
matmarex added a project to T393983: `Error: Class "Wikimedia\Parsoid\Wt2Html\XMLSerializer" not found` in PHPUnit tests: DiscussionTools.
Tue, May 13, 2:22 AM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), DiscussionTools, ci-test-error (WMF-deployed Build Failure), Parsoid
matmarex created T393983: `Error: Class "Wikimedia\Parsoid\Wt2Html\XMLSerializer" not found` in PHPUnit tests.
Tue, May 13, 2:21 AM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), DiscussionTools, ci-test-error (WMF-deployed Build Failure), Parsoid
matmarex closed T388004: Deprecate `AbortTalkPageEmailNotification` hook as Resolved.
Tue, May 13, 2:05 AM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), MW-1.44-notes, MediaWiki-Email, MediaWiki-Notifications, MediaWiki-Platform-Team (Roadmap)
matmarex closed T388004: Deprecate `AbortTalkPageEmailNotification` hook, a subtask of T389624: Post "Enotif to Notifications" refactor cleanup, as Resolved.
Tue, May 13, 2:05 AM · Epic, MediaWiki-Notifications, MediaWiki-Platform-Team (Roadmap)

Mon, May 12

matmarex added a comment to T393721: Migrate "emailuser" Notification to Core.

I wonder if the new Notification should be compatible with the hook we want to deprecate.

Mon, May 12, 10:46 PM · Patch-For-Review, MediaWiki-Platform-Team, MediaWiki-Notifications
matmarex added a comment to T393847: Improve brevity of Jenkins console output.

Please humor me with one more thing, I promise this is the last one :)

Mon, May 12, 6:48 PM · Developer Productivity, Continuous-Integration-Config
matmarex added a comment to T393847: Improve brevity of Jenkins console output.

We're down from 142 to 105 lines. Current results:

1Started by user unknown or anonymous
2Running as SYSTEM
3Building remotely on integration-agent-docker-1065 (Docker) in workspace /srv/jenkins/workspace/mwgate-node20
4[mwgate-node20] $ /bin/bash -xe /tmp/jenkins6698170014203852132.sh
5+ mkdir -m 2777 -p cache
6[mwgate-node20] $ /bin/bash /tmp/jenkins18416898583586774545.sh
7+ set -o pipefail
8+ '[' '!' -d /srv/jenkins/workspace/mwgate-node20/cache ']'
9+ exec docker run --volume /srv/jenkins/workspace/mwgate-node20/cache:/cache --security-opt seccomp=unconfined --init --rm --label jenkins.job=mwgate-node20 --label jenkins.build=48618 --env-file /dev/fd/63 docker-registry.wikimedia.org/releng/castor:0.4.0 load
10++ /usr/bin/env
11++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
12Defined: CASTOR_NAMESPACE="castor-mw-ext-and-skins/master/mwgate-node20"
13Syncing...
14rsync: [generator] failed to set times on "/cache/.": Operation not permitted (1)
15rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1819) [generator=3.2.3]
16
17Done
18[mwgate-node20] $ /bin/bash -xe /tmp/jenkins9570444478569684184.sh
19+ set -eux
20+ mkdir -m 2777 -p log
21[mwgate-node20] $ /bin/bash /tmp/jenkins12568592662658434959.sh
22+ set -o pipefail
23+ '[' '!' -d /srv/jenkins/workspace/mwgate-node20 ']'
24+ exec docker run --entrypoint=/usr/bin/find --user=nobody --volume /srv/jenkins/workspace/mwgate-node20:/workspace --security-opt seccomp=unconfined --init --rm --label jenkins.job=mwgate-node20 --label jenkins.build=48618 --env-file /dev/fd/63 docker-registry.wikimedia.org/buster:latest /workspace/log -mindepth 1 -delete
25++ /usr/bin/env
26++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
27[mwgate-node20] $ /bin/bash -xe /tmp/jenkins6686620824712163109.sh
28+ set -eux
29+ mkdir -m 2777 -p src
30[mwgate-node20] $ /bin/bash /tmp/jenkins16080523063628745248.sh
31+ set -o pipefail
32+ '[' '!' -d /srv/jenkins/workspace/mwgate-node20 ']'
33+ exec docker run --entrypoint=/usr/bin/find --user=nobody --volume /srv/jenkins/workspace/mwgate-node20:/workspace --security-opt seccomp=unconfined --init --rm --label jenkins.job=mwgate-node20 --label jenkins.build=48618 --env-file /dev/fd/63 docker-registry.wikimedia.org/buster:latest /workspace/src -mindepth 1 -delete
34++ /usr/bin/env
35++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
36[mwgate-node20] $ /bin/bash -eu /tmp/jenkins5738675166679466490.sh
37+ mkdir -m 2777 -p cache
38[mwgate-node20] $ /bin/bash /tmp/jenkins12047790555073868114.sh
39+ set -o pipefail
40+ '[' '!' -d /srv/jenkins/workspace/mwgate-node20/src ']'
41+ '[' '!' -d /srv/jenkins/workspace/mwgate-node20/cache ']'
42+ '[' '!' -d /srv/git ']'
43+ exec docker run --volume /srv/jenkins/workspace/mwgate-node20/src:/src --volume /srv/jenkins/workspace/mwgate-node20/cache:/cache --volume /srv/git:/srv/git:ro --security-opt seccomp=unconfined --init --rm --label jenkins.job=mwgate-node20 --label jenkins.build=48618 --env-file /dev/fd/63 docker-registry.wikimedia.org/releng/ci-src-setup-simple:0.7.0-s1
44++ /usr/bin/env
45++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
46+ [[ https://integration.wikimedia.org/ci/ == '' ]]
47+ git init --initial-branch=master
48Initialized empty Git repository in /src/.git/
49+ git remote add origin https://gerrit.wikimedia.org/r/mediawiki/skins/Vector
50+ git fetch --quiet --update-head-ok --depth 2 git://contint2002.wikimedia.org/mediawiki/skins/Vector +refs/zuul/master/Z0daf7fbc20f04a028c17a1516a82dad2:refs/zuul/master/Z0daf7fbc20f04a028c17a1516a82dad2
51+ [[ master == '' ]]
52+ git checkout -B master FETCH_HEAD
53Reset branch 'master'
54+ set +x
55+ git submodule --quiet update --init --recursive
56[mwgate-node20] $ /bin/bash -eu /tmp/jenkins2885250545359150331.sh
57+ chmod 2777 src
58+ mkdir -m 2777 -p cache log
59[mwgate-node20] $ /bin/bash /tmp/jenkins6928119596860216575.sh
60+ set -o pipefail
61+ '[' '!' -d /srv/jenkins/workspace/mwgate-node20/src ']'
62+ '[' '!' -d /srv/jenkins/workspace/mwgate-node20/cache ']'
63+ '[' '!' -d /srv/jenkins/workspace/mwgate-node20/log ']'
64+ exec docker run --volume /srv/jenkins/workspace/mwgate-node20/src:/src --volume /srv/jenkins/workspace/mwgate-node20/cache:/cache --volume /srv/jenkins/workspace/mwgate-node20/log:/log --security-opt seccomp=unconfined --init --rm --label jenkins.job=mwgate-node20 --label jenkins.build=48618 --env-file /dev/fd/63 docker-registry.wikimedia.org/releng/node20-test:20.19.1
65++ /usr/bin/env
66++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
67+ '[' '!' -f package.json ']'
68+ node --version
69v20.19.1
70+ npm --version
7110.8.2
72+ '[' -e npm-shrinkwrap.json ']'
73+ '[' -e package-lock.json ']'
74+ npm ci
75npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
76npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
77npm warn deprecated [email protected]: Use your platform's native atob() and btoa() methods instead
78npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
79npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
80npm warn deprecated [email protected]: Use your platform's native DOMException instead
81npm warn deprecated [email protected]: Use your platform's native performance.now() and performance.timeOrigin.
82npm warn deprecated [email protected]: Use your platform's native DOMException instead
83npm warn deprecated [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
84npm warn deprecated [email protected]: 16.1.1
85
86added 900 packages, and audited 901 packages in 6s
87
88115 packages are looking for funding
89 run `npm fund` for details
90
913 vulnerabilities (1 moderate, 2 high)
92
93To address issues that do not require attention, run:
94 npm audit fix
95
96To address all issues (including breaking changes), run:
97 npm audit fix --force
98
99Run `npm audit` for details.
100+ npm run-script test
101
102> test
103> npm -s run lint && tsc && npm run test:unit
104
105
106/src/resources/skins.vector.js/skin.js
107 57:2 error 'echo' is not defined no-undef
108
109✖ 1 problem (1 error, 0 warnings)
110
111Build step 'Execute shell' marked build as failure
112Archiving artifacts
113[PostBuildScript] - [INFO] Executing post build scripts.
114[PostBuildScript] - [INFO] Build does not have any of the results [SUCCESS]. Did not execute build step #0.
115[PostBuildScript] - [INFO] Executing post build scripts.
116[mwgate-node20] $ /bin/bash -xe /tmp/jenkins17223645035016352327.sh
117+ echo 'Clearing /srv/jenkins/workspace/mwgate-node20/cache'
118Clearing /srv/jenkins/workspace/mwgate-node20/cache
119[mwgate-node20] $ /bin/bash /tmp/jenkins6425028712772339251.sh
120+ set -o pipefail
121+ '[' '!' -d /srv/jenkins/workspace/mwgate-node20/cache ']'
122+ exec docker run --volume /srv/jenkins/workspace/mwgate-node20/cache:/cache --security-opt seccomp=unconfined --init --rm --label jenkins.job=mwgate-node20 --label jenkins.build=48618 --env-file /dev/fd/63 docker-registry.wikimedia.org/releng/castor:0.4.0 clear
123++ /usr/bin/env
124++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
125[PostBuildScript] - [INFO] Executing post build scripts.
126[mwgate-node20] $ /bin/bash -xe /tmp/jenkins10585005865253115599.sh
127+ set -euxo pipefail
128+ docker ps -q --filter label=jenkins.job=mwgate-node20 --filter label=jenkins.build=48618
129+ xargs --no-run-if-empty docker stop
130[PostBuildScript] - [INFO] Executing post build scripts.
131[mwgate-node20] $ /bin/bash /tmp/jenkins1293099175388471647.sh
132+ set -o pipefail
133+ '[' '!' -d /srv/jenkins/workspace/mwgate-node20 ']'
134+ exec docker run --entrypoint=/usr/bin/find --user=root --volume /srv/jenkins/workspace/mwgate-node20:/workspace --security-opt seccomp=unconfined --init --rm --label jenkins.job=mwgate-node20 --label jenkins.build=48618 --env-file /dev/fd/63 docker-registry.wikimedia.org/buster:latest /workspace -mindepth 1 -delete
135++ /usr/bin/env
136++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
137[mwgate-node20] $ /bin/bash -xe /tmp/jenkins10934646293654371317.sh
138+ echo 'Listing potentially remaining files in workspace for T282893'
139Listing potentially remaining files in workspace for T282893
140+ ls -laF --color=always
141total 8
142drwxr-xr-x 2 jenkins-deploy wikidev 4096 May 12 17:11 ./
143drwxrwxr-x 4 jenkins-deploy wikidev 4096 May 12 17:11 ../
144[mwgate-node20] $ /bin/bash -xe /tmp/jenkins460674181139499016.sh
145+ set -u
146+ rmdir /srv/jenkins/workspace/mwgate-node20
147Finished: FAILURE
Mon, May 12, 6:33 PM · Developer Productivity, Continuous-Integration-Config
matmarex created P75926 https://integration.wikimedia.org/ci/job/mwgate-node20/48618/console.
Mon, May 12, 6:29 PM
matmarex added a comment to T393847: Improve brevity of Jenkins console output.

Wow, thank you!

Mon, May 12, 2:34 PM · Developer Productivity, Continuous-Integration-Config

Sun, May 11

matmarex created T393847: Improve brevity of Jenkins console output.
Sun, May 11, 6:30 PM · Developer Productivity, Continuous-Integration-Config
matmarex created P75893 https://integration.wikimedia.org/ci/job/mwgate-node20/48125/console.
Sun, May 11, 6:25 PM
matmarex added a comment to T393837: Wikilinks where the link target is a <tvar> are always marked as changed in visual diffs.

I'm not sure what you mean by plain text. It'd be possible to make the "computed" target editable (e.g. given wikitext like [[{{1x|xxx}}|link]], it could show "Xxx" as the link target). But editing such a link would lose the original markup, and so I think that it would be too easy for users to accidentally "corrupt" the article. I felt that allowing it to be deleted, but not edited, was an acceptable workaround.

Sun, May 11, 5:38 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), MediaWiki-extensions-Translate, VisualEditor-VisualDiffs, VisualEditor
matmarex added a comment to T67362: VisualEditor: URLs followed immediately by {{templates}} are improperly displayed and cannot be edited.

URLs followed by templates are still broken. However, they now seem to be broken differently: they display as regular links with broken syntax, rather than as alienated nodes.

Sun, May 11, 12:00 AM · Patch-For-Review, VisualEditor, VisualEditor-DataModel

Sat, May 10

matmarex added a parent task for T368724: Rendering diff on broken link with template (visual diff testing): T67362: VisualEditor: URLs followed immediately by {{templates}} are improperly displayed and cannot be edited.
Sat, May 10, 11:54 PM · Parsoid-Read-Views, Content-Transform-Team (Work In Progress), OKR-Work, Patch-For-Review, Parsoid
matmarex added a subtask for T67362: VisualEditor: URLs followed immediately by {{templates}} are improperly displayed and cannot be edited: T368724: Rendering diff on broken link with template (visual diff testing).
Sat, May 10, 11:54 PM · Patch-For-Review, VisualEditor, VisualEditor-DataModel
matmarex closed T346801: Broken link in page but not in visual editor when using IPA template inside link text as Resolved.

The article has been edited since, but this was the affected revision: https://en.wikipedia.org/w/index.php?title=New_York_City_English&oldid=1176166207

image.png (1×1 px, 276 KB)
Sat, May 10, 11:35 PM · VisualEditor
matmarex added a comment to T393837: Wikilinks where the link target is a <tvar> are always marked as changed in visual diffs.

image.png (225×435 px, 9 KB)
Sat, May 10, 11:33 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), MediaWiki-extensions-Translate, VisualEditor-VisualDiffs, VisualEditor
matmarex claimed T393837: Wikilinks where the link target is a <tvar> are always marked as changed in visual diffs.
Sat, May 10, 11:27 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), MediaWiki-extensions-Translate, VisualEditor-VisualDiffs, VisualEditor
matmarex created T393837: Wikilinks where the link target is a <tvar> are always marked as changed in visual diffs.
Sat, May 10, 9:48 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), MediaWiki-extensions-Translate, VisualEditor-VisualDiffs, VisualEditor
matmarex added a comment to T393237: Some en.wikipedia pageviews fatal "RevisionAccessException: Failed to load data blob from {address} for revision {revision}.".

Thanks for the additional details. I'm still struggling to understand how the data could be available for reading by MediaWiki for all these years, but could not be updated by the maintenance script that should have migrated it, but I'll take your word for it. I guess it's too late to hope to review the script logs?

Sat, May 10, 2:31 AM · Wikimedia-database-issue (Bad data), DBA, WMF-General-or-Unknown, Wikimedia-production-error

Fri, May 9

matmarex added a comment to T393237: Some en.wikipedia pageviews fatal "RevisionAccessException: Failed to load data blob from {address} for revision {revision}.".

They also all were originally created in a narrow time range, between 9 and 10 March 2009. According to Server Admin Log archives (2008 Oct - 2009 JunMarch 9-10), there was some trouble with the revision external storage on enwiki on those exact days:

Fri, May 9, 11:16 PM · Wikimedia-database-issue (Bad data), DBA, WMF-General-or-Unknown, Wikimedia-production-error
matmarex added a comment to T393237: Some en.wikipedia pageviews fatal "RevisionAccessException: Failed to load data blob from {address} for revision {revision}.".

2- We confirmed they were corrupted before the migration. Mistake didn't happen in this case. Those edits all are old and from a time we had way less protections in production.

Fri, May 9, 10:44 PM · Wikimedia-database-issue (Bad data), DBA, WMF-General-or-Unknown, Wikimedia-production-error
matmarex added a comment to T371756: [1.45] Remove wgParserEnableLegacyHeadingDOM option to disable new heading HTML.

Thanks for the reminder. You can review the patches whenever you're ready.

Fri, May 9, 9:33 PM · MW-1.44-notes, MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Web-Team, Web Team Essential Work 2025 (Parsoid migration), MW-1.45-release, MediaWiki-Core-Skin-Architecture, MediaWiki-Parser
matmarex claimed T371756: [1.45] Remove wgParserEnableLegacyHeadingDOM option to disable new heading HTML.
Fri, May 9, 9:32 PM · MW-1.44-notes, MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), Web-Team, Web Team Essential Work 2025 (Parsoid migration), MW-1.45-release, MediaWiki-Core-Skin-Architecture, MediaWiki-Parser
matmarex added a comment to T393790: SecurePoll can no longer add questions to new polls.

Thanks for fixing, and I'm sorry I missed that in review.

Fri, May 9, 7:52 PM · MW-1.44-notes (1.44.0-wmf.28; 2025-05-06), MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), Trust and Safety Product Sprint (Sprint Key Lime Pie (May 5 - May 23)), Regression, Trust and Safety Product Team, MediaWiki-extensions-SecurePoll

Thu, May 8

matmarex moved T384064: Removing ConfirmEdit class aliases breaks $wgCaptchaClass from Not a blocker to Blocker on the MW-1.44-release board.

I think it is a blocker. I will just restore the aliases, and leave it for whoever wants to remove them to figure out how to communicate the breaking change.

Thu, May 8, 10:52 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), MW-1.44-release, ConfirmEdit (CAPTCHA extension)
matmarex closed T337158: Make PHPUnit dataProvider static in Flow tests, a subtask of T332865: PHPUnit data providers should be simple static functions that return plain data, as Resolved.
Thu, May 8, 9:29 PM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), Patch-For-Review, MW-1.44-notes (1.44.0-wmf.28; 2025-05-06), MediaWiki-extensions-General, MediaWiki-Core-Tests, MW-1.43-notes (1.43.0-wmf.28; 2024-10-22), MW-1.41-notes (1.41.0-wmf.20; 2023-08-01)