matmarex (Bartosz Dziewoński)
Software Engineer

Today

  • No visible events.

Tomorrow

  • No visible events.

Tuesday

  • No visible events.

User Details

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

Recent Activity

Yesterday

matmarex claimed T427026: Auto-subscriptions never fire if timezone set to negative UTC offset/always fire with a positive UTC offset.
Sat, May 23, 10:36 PM · Patch-For-Review, DiscussionTools
matmarex added a comment to T427026: Auto-subscriptions never fire if timezone set to negative UTC offset/always fire with a positive UTC offset.

From reading the code, it looks like this has also affected comment notifications in the same way.

Sat, May 23, 10:36 PM · Patch-For-Review, DiscussionTools
matmarex added a comment to T427026: Auto-subscriptions never fire if timezone set to negative UTC offset/always fire with a positive UTC offset.

Thanks for the bug report. We should be using UTC timestamps throughout, like the rest of MediaWiki. It turns out that the DateTimeImmutable constructor may create either UTC or local timezone date-times, depending on the format of the input string, and we didn't pay enough attention to the format of the timestamp here.

Sat, May 23, 10:19 PM · Patch-For-Review, DiscussionTools
matmarex closed T426820: TypeError: MediaWiki\Permissions\GroupPermissionsLookup::groupHasPermission(): Argument #2 ($permission) must be of type string, null given, called in /srv/mediawiki/php-1.47.0-wmf.3/includes/Output/OutputPage.php on line 3414 as Resolved.
Sat, May 23, 7:42 PM · MW-1.47-notes (1.47.0-wmf.4; 2026-05-26), MediaWiki-Platform-Team (Kanban Board), MediaWiki-General, Wikimedia-production-error
matmarex added a comment to T202262: Display global rename log in "Previous global account changes".

Past usernames are indeed public, but there's a difference between that and displaying them prominently on the account information page. I think we shouldn't do the latter, and I'm not sure whether even the notice I proposed is a good idea.

Sat, May 23, 3:04 AM · Patch-For-Review, MediaWiki-Platform-Team, User-revi, GlobalRename, MediaWiki-extensions-CentralAuth, Stewards-and-global-tools
matmarex added a project to T426820: TypeError: MediaWiki\Permissions\GroupPermissionsLookup::groupHasPermission(): Argument #2 ($permission) must be of type string, null given, called in /srv/mediawiki/php-1.47.0-wmf.3/includes/Output/OutputPage.php on line 3414: MediaWiki-Platform-Team (Kanban Board).
Sat, May 23, 2:44 AM · MW-1.47-notes (1.47.0-wmf.4; 2026-05-26), MediaWiki-Platform-Team (Kanban Board), MediaWiki-General, Wikimedia-production-error
matmarex added a comment to T424846: Use a more efficient API in mark-locked.js user script and similar scripts/gadgets.

Logstash query for "centralauthtoken is invalid" (which happens often on the list=globalallusers request), to check later: https://logstash.wikimedia.org/goto/88bcb77c7c6e777f71ceff5e9ef2e803

Sat, May 23, 2:32 AM · MediaWiki-Platform-Team (Kanban Board), Local-Wiki-Template-And-Gadget-Issues
matmarex added a comment to T424846: Use a more efficient API in mark-locked.js user script and similar scripts/gadgets.

Maybe I should have changed it to use formatversion=2 at the same time, it's much more intuitive.

Sat, May 23, 1:02 AM · MediaWiki-Platform-Team (Kanban Board), Local-Wiki-Template-And-Gadget-Issues
matmarex added a comment to T427102: Moving [[WP:VPWMF#WMF Community Tech team has been disbanded, engineers laid off]] to subpage(s).

You can copy-paste the discussion to another page, and everyone who subscribed to it will continue receiving notifications in the new location. (You should see the Subscribe/Unsubscribe button state reflect this when the discussion is moved/copied, and the list on https://en.wikipedia.org/wiki/Special:TopicSubscriptions should also show a link to the new page – or both pages, if the discussion exists in both places.)

Sat, May 23, 12:34 AM · Performance Issue, DiscussionTools

Fri, May 22

matmarex claimed T426820: TypeError: MediaWiki\Permissions\GroupPermissionsLookup::groupHasPermission(): Argument #2 ($permission) must be of type string, null given, called in /srv/mediawiki/php-1.47.0-wmf.3/includes/Output/OutputPage.php on line 3414.

Caused by a949c8305b45388b272747cc4287c3e5fb56a0a4 (https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1222751)

Fri, May 22, 12:07 AM · MW-1.47-notes (1.47.0-wmf.4; 2026-05-26), MediaWiki-Platform-Team (Kanban Board), MediaWiki-General, Wikimedia-production-error

Thu, May 21

matmarex added a comment to T424846: Use a more efficient API in mark-locked.js user script and similar scripts/gadgets.

Logstash query for "centralauthtoken is invalid" (which happens often on the list=globalallusers request), to check later: https://logstash.wikimedia.org/goto/88bcb77c7c6e777f71ceff5e9ef2e803

Thu, May 21, 11:47 PM · MediaWiki-Platform-Team (Kanban Board), Local-Wiki-Template-And-Gadget-Issues
matmarex added a comment to T424846: Use a more efficient API in mark-locked.js user script and similar scripts/gadgets.

I prepared a new version of mark-locked.js: https://en.wikipedia.org/wiki/Special:ComparePages?page1=User:GeneralNotability/mark-locked.js&page2=User:Matma_Rex/mark-locked.js

Thu, May 21, 11:33 PM · MediaWiki-Platform-Team (Kanban Board), Local-Wiki-Template-And-Gadget-Issues
matmarex added a comment to T402732: Special:CentralAuth should indicate when the user has been renamed.

Copying my comment from the other related task:

Thu, May 21, 9:52 PM · Patch-For-Review, MediaWiki-Platform-Team (Kanban Board), MediaWiki-extensions-CentralAuth
matmarex added a comment to T202262: Display global rename log in "Previous global account changes".

This was on my mind after working on T196386 recently. I'd like to balance the transparency needs of account renamers or other people investigating renames of abusive users, with the privacy needs of the users who have been renamed.

Thu, May 21, 9:51 PM · Patch-For-Review, MediaWiki-Platform-Team, User-revi, GlobalRename, MediaWiki-extensions-CentralAuth, Stewards-and-global-tools
matmarex added a comment to T427009: Pass context to LogEventsList::showLogExtract().

Unfortunately will require a lot of manual review to distinguish the case where we pass an OutputPage to this function (which doesn't require passing a context) from the case where we pass a string (which does).

Thu, May 21, 9:41 PM · Patch-For-Review, MediaWiki-extensions-General, MediaWiki-General, Technical-Debt
matmarex created T427009: Pass context to LogEventsList::showLogExtract().
Thu, May 21, 9:39 PM · Patch-For-Review, MediaWiki-extensions-General, MediaWiki-General, Technical-Debt
matmarex added a comment to T423076: FileImporter do not automatically delete the copy of the local file.

@Andriy.v I assume you've tested it? Thanks!

Thu, May 21, 8:15 PM · MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), MediaWiki-Platform-Team (Kanban Board), Move-Files-To-Commons
matmarex added a comment to T426732: DiscussionTools produces invalid fragments for topic titles with curly brackets (or other non-wgLegalTitleChars?).

Thanks for the patch @1F616EMO!

Thu, May 21, 8:15 PM · MW-1.47-notes (1.47.0-wmf.4; 2026-05-26), Convenient-Discussions, Chinese-Sites, DiscussionTools
matmarex added a comment to T247241: In VisualEditor, creating unpiped hyperlinks then italicising or bolding them forces a piped link.

(And it looks like there is an even older task, T52098, for the more complex cases I described above in T247241#5957890.)

Thu, May 21, 8:13 PM · VisualEditor
matmarex added a parent task for T409669: VE inserts formatting into link description: T247241: In VisualEditor, creating unpiped hyperlinks then italicising or bolding them forces a piped link.
Thu, May 21, 8:11 PM · Parsoid, Essential-Work, Content-Transform-Team (Work In Progress), VisualEditor
matmarex added a subtask for T247241: In VisualEditor, creating unpiped hyperlinks then italicising or bolding them forces a piped link: T409669: VE inserts formatting into link description.
Thu, May 21, 8:11 PM · VisualEditor
matmarex closed T247241: In VisualEditor, creating unpiped hyperlinks then italicising or bolding them forces a piped link as Resolved.

Indeed it seems resolved by that work, at least for the simple cases described by @SUM1. Thanks for linking it!

Thu, May 21, 8:11 PM · VisualEditor

Wed, May 20

matmarex added a comment to T425283: Remove blur when expanding hidden bot comments.

Thanks, this is just what I had in mind!

Wed, May 20, 11:52 PM · Phabricator (2026-05-19), CSS
matmarex moved T423076: FileImporter do not automatically delete the copy of the local file from Essential Work to To be verified in Prod on the MediaWiki-Platform-Team (Kanban Board) board.
Wed, May 20, 11:49 PM · MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), MediaWiki-Platform-Team (Kanban Board), Move-Files-To-Commons
matmarex moved T394732: backfillLocalAccounts.php does not (always?) copy checkuser data from Essential Work to To be verified in Prod on the MediaWiki-Platform-Team (Kanban Board) board.
Wed, May 20, 11:48 PM · MediaWiki-Platform-Team (Kanban Board), MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), Product Safety and Integrity, CheckUser, Stewards-and-global-tools, MediaWiki-extensions-CentralAuth
matmarex edited projects for T394732: backfillLocalAccounts.php does not (always?) copy checkuser data, added: MediaWiki-Platform-Team (Kanban Board); removed MediaWiki-Platform-Team.
Wed, May 20, 11:48 PM · MediaWiki-Platform-Team (Kanban Board), MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), Product Safety and Integrity, CheckUser, Stewards-and-global-tools, MediaWiki-extensions-CentralAuth
matmarex added a comment to T426917: Display another warning message when renaming an account to a username whose user page has existing JS/CSS subpages.

I filed this as a security task just because T183212 was a security task, but I think it should be made public.

Wed, May 20, 10:24 PM · MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, MediaWiki-User-rename, Product Safety and Integrity, Security, Security-Team
matmarex closed T183212: Javascript and CSS pages redirected after rename can be taken over by a newly registered user with the old name as Resolved.

I filed T426917 for that follow-up work. I may not have the time to work on this, but I think it's fine to leave it unimplemented.

Wed, May 20, 10:23 PM · MediaWiki-Platform-Team (Kanban Board), Security, Restricted Project, MediaWiki-extensions-CentralAuth, MediaWiki-User-rename
matmarex added projects to T426917: Display another warning message when renaming an account to a username whose user page has existing JS/CSS subpages: MediaWiki-User-rename, MediaWiki-extensions-CentralAuth.
Wed, May 20, 10:21 PM · MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, MediaWiki-User-rename, Product Safety and Integrity, Security, Security-Team
matmarex created T426917: Display another warning message when renaming an account to a username whose user page has existing JS/CSS subpages.
Wed, May 20, 10:21 PM · MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, MediaWiki-User-rename, Product Safety and Integrity, Security, Security-Team
matmarex closed T321482: AntiSpoof shows a nonsensical message for renamed usernames as Resolved.
Wed, May 20, 10:06 PM · MediaWiki-Platform-Team (Kanban Board), Product Safety and Integrity, MediaWiki-extensions-CentralAuth, Voice & Tone, AntiSpoof
matmarex closed T209760: More specific error messages when user rename fails AntiSpoof as Resolved.
Wed, May 20, 10:04 PM · MediaWiki-Platform-Team (Kanban Board), MediaWiki-extensions-CentralAuth
matmarex closed T196386: MediaWiki should prevent username registration if the username previously existed, a subtask of T183212: Javascript and CSS pages redirected after rename can be taken over by a newly registered user with the old name, as Resolved.
Wed, May 20, 10:03 PM · MediaWiki-Platform-Team (Kanban Board), Security, Restricted Project, MediaWiki-extensions-CentralAuth, MediaWiki-User-rename
matmarex closed T196386: MediaWiki should prevent username registration if the username previously existed as Resolved.
Wed, May 20, 10:03 PM · MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), MediaWiki-extensions-CentralAuth, MediaWiki-User-rename, MediaWiki-Platform-Team (Kanban Board), Product Safety and Integrity, Security
matmarex closed T196386: MediaWiki should prevent username registration if the username previously existed, a subtask of T321482: AntiSpoof shows a nonsensical message for renamed usernames, as Resolved.
Wed, May 20, 10:03 PM · MediaWiki-Platform-Team (Kanban Board), Product Safety and Integrity, MediaWiki-extensions-CentralAuth, Voice & Tone, AntiSpoof
matmarex closed T196386: MediaWiki should prevent username registration if the username previously existed, a subtask of T209760: More specific error messages when user rename fails AntiSpoof, as Resolved.
Wed, May 20, 10:03 PM · MediaWiki-Platform-Team (Kanban Board), MediaWiki-extensions-CentralAuth

Tue, May 19

matmarex closed T264514: No documentation on how to set $wgOAuth2PrivateKey and $wgOAuth2PublicKey as Resolved.

There is now a link to that documentation page in the configuration table (thanks to Zagy: https://www.mediawiki.org/w/index.php?title=Extension:OAuth&diff=prev&oldid=5198985). I think that's good enough.

Tue, May 19, 11:13 PM · MediaWiki-Platform-Team, Platform Team Workboards (Clinic Duty Team), Documentation, MediaWiki-extensions-OAuth
matmarex closed T264514: No documentation on how to set $wgOAuth2PrivateKey and $wgOAuth2PublicKey, a subtask of T349790: Improve OAuth 2 docs, as Resolved.
Tue, May 19, 11:13 PM · MediaWiki-Platform-Team, Documentation, MediaWiki-extensions-OAuth
matmarex added a comment to T2156: Allow editing the lead section of a page.

FYI, my edit request at en.wp was accepted, and I also edited a similar gadget on mw.org (I'm an administrator there): https://www.mediawiki.org/wiki/MediaWiki:Gadget-edittop.js

Tue, May 19, 11:07 PM · User-notice, Wikimedia Wishathon, VisualEditor, MediaWiki-Page-editing, Design, MediaWiki-User-Interface
matmarex added a comment to T426732: DiscussionTools produces invalid fragments for topic titles with curly brackets (or other non-wgLegalTitleChars?).

We encountered this problem before, see: https://gerrit.wikimedia.org/g/mediawiki/extensions/DiscussionTools/+/6a7bfe2debd24e5d3fd52566eeb77f2d3aeb664a/includes/SpecialFindComment.php#105

(T389741) Comment IDs/names may use characters that are not valid in page titles, like '<'.
Omit the message with the wikilink to Special:GoToComment/… if the link would be invalid.
They can only be linked to using external links to Special:FindComment?idorname=…
or wikilinks to the target page with a fragment identifier, for example Talk:Foo#….
It's a pity we haven't realized this before deciding on this linking scheme. Oops.

Tue, May 19, 10:47 PM · MW-1.47-notes (1.47.0-wmf.4; 2026-05-26), Convenient-Discussions, Chinese-Sites, DiscussionTools
matmarex merged T403905: Duplicate/wrong anchor link in edit summary when creating new topic with topic name already existing on that page into T4831: Links in autogenerated summary in page histories may point to wrong section or to nowhere.
Tue, May 19, 10:27 PM · Hungarian-Sites, MediaWiki-Comment-store
matmarex merged task T403905: Duplicate/wrong anchor link in edit summary when creating new topic with topic name already existing on that page into T4831: Links in autogenerated summary in page histories may point to wrong section or to nowhere.
Tue, May 19, 10:27 PM · DiscussionTools

Mon, May 18

matmarex moved T412542: Rethink protocol support for OAuth apps from OKR Work to In Progress on the MediaWiki-Platform-Team (Kanban Board) board.
Mon, May 18, 10:10 PM · MW-1.47-notes (1.47.0-wmf.4; 2026-05-26), Patch-For-Review, MediaWiki-Platform-Team (Kanban Board), MediaWiki-extensions-OAuth
matmarex claimed T412542: Rethink protocol support for OAuth apps.

It didn't seem too difficult. It helps that UrlUtils already had a way to supply a list of allowed protocols, so I only had to extend it a little.

Mon, May 18, 10:09 PM · MW-1.47-notes (1.47.0-wmf.4; 2026-05-26), Patch-For-Review, MediaWiki-Platform-Team (Kanban Board), MediaWiki-extensions-OAuth
matmarex added a comment to T412542: Rethink protocol support for OAuth apps.

(cross-referencing: T426614: add "CommonsFinder://" custom scheme to $wgUrlProtocols for native app OAuth2 support)

Mon, May 18, 8:44 PM · MW-1.47-notes (1.47.0-wmf.4; 2026-05-26), Patch-For-Review, MediaWiki-Platform-Team (Kanban Board), MediaWiki-extensions-OAuth
matmarex closed T404402: Permission error on user talk page as Resolved.
Mon, May 18, 7:47 PM · MediaWiki-Platform-Team (Kanban Board), SUL3, Mobile
matmarex closed T381096: Hide the search form in the skin during login, signup, and other auth-domain workflows, a subtask of T409236: [EPIC] Account Creation Experiments (WE1.8 FY 25-26), as Resolved.
Mon, May 18, 7:46 PM · OKR-Work (WE1 FY2025-26), MediaWiki-User-login-and-signup, Epic, MediaWiki-CreateAccount-page, Growth-Team
matmarex closed T381096: Hide the search form in the skin during login, signup, and other auth-domain workflows as Resolved.
Mon, May 18, 7:46 PM · MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), MediaWiki-Platform-Team (Kanban Board), SUL3, MediaWiki-User-Interface (autocomplete search)
matmarex closed T381096: Hide the search form in the skin during login, signup, and other auth-domain workflows, a subtask of T404402: Permission error on user talk page, as Resolved.
Mon, May 18, 7:46 PM · MediaWiki-Platform-Team (Kanban Board), SUL3, Mobile
matmarex claimed T423076: FileImporter do not automatically delete the copy of the local file.

I did not get a reply, so I approved the patch myself, and I'll test it in production once it rolls out.

Mon, May 18, 7:10 PM · MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), MediaWiki-Platform-Team (Kanban Board), Move-Files-To-Commons
matmarex closed T58466: mw.Title.newFromText should urldecode the title first as Declined.

Indeed. Percent-encoded titles are accepted in wikitext [[...]] links (Parser.php / bce772029ecc), but not by any other APIs. This is weird; I don't think we should accept them in any new places.

Mon, May 18, 6:56 PM · MediaWiki-Platform-Team (Kanban Board), MediaWiki-ResourceLoader, OKR-Work, JavaScript
matmarex placed T58303: mw.Title should provide a function to get a Title object from a URL up for grabs.
Mon, May 18, 6:46 PM · MediaWiki-Platform-Team, MediaWiki-ResourceLoader, Patch-Needs-Improvement, Front-end-Standards-Group, OKR-Work, JavaScript
matmarex moved T58303: mw.Title should provide a function to get a Title object from a URL from Kanban Board to Not planned / Patches welcome on the MediaWiki-Platform-Team board.
Mon, May 18, 6:46 PM · MediaWiki-Platform-Team, MediaWiki-ResourceLoader, Patch-Needs-Improvement, Front-end-Standards-Group, OKR-Work, JavaScript
matmarex moved T426533: GlobalRenameQueue: Add an API endpoint for closed requests from Inbox, needs triage to Not planned / Patches welcome on the MediaWiki-Platform-Team board.

We don't seem to have any API endpoints corresponding to Special:GlobalRenameQueue. We probably won't find the time for this, but if you wanted to propose a patch, we'd be happy to review it.

Mon, May 18, 5:23 PM · MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth
matmarex added a comment to T426121: Session inconsistency across Wikimedia wikis after browser restart.

I can't reproduce. There must be something about your browser or your interactions with the sites that triggers this.

Mon, May 18, 5:15 PM · MediaWiki-Platform-Team (Kanban Board), MediaWiki-User-login-and-signup
matmarex created T426603: The effect of the VisualEditor "Editing mode" preference on the section edit links is being included in the "post-processing cache" (aka "post-OutputTransform cache") without splitting the cache on the preference.
Mon, May 18, 12:05 PM · Patch-For-Review, Essential-Work, Content-Transform-Team (Work In Progress), VisualEditor-MediaWiki, VisualEditor

Fri, May 15

matmarex added a comment to T399674: Requests fail with Access-Control-Allow-Origin errors when using ForeignApi on iOS Safari.

I don't have any devices I could reproduce this on.

Fri, May 15, 7:21 PM · MobileFrontend (Tracking), MW-Interfaces-Team, MediaWiki-Action-API, JavaScript

Thu, May 14

matmarex added a comment to T268900: Clean up section edit link brackets.

I have not tested it very thoroughly, but it seems to work. Android's Talkback no longer points out the square brackets when navigating.

Thu, May 14, 7:34 PM · Wikimedia-Hackathon-2026, Patch-For-Review, Editing-team, Design, Accessibility, MediaWiki-Parser
matmarex added a comment to T423642: "→(top)" link broken on diff or permalink.

I agree that's weird, but it's not my fault, it was like this before. The change here only affected links generated by /* */.

Thu, May 14, 7:21 PM · MW-1.46-notes (1.46.0-wmf.26; 2026-04-28), MediaWiki-Page-diffs, MediaWiki-User-Interface
matmarex added a comment to T19006: Blank anchor [[#|anchor link]] should not link to the Main Page.

IMO the root of the problem is that Title::getFragment() (and also related lower-level interfaces, like Parsoid's LinkTarget::getFragment()) does not distinguish between no fragment and empty fragment. As a result we can't distinguish a completely empty title (which should be invalid, unless maybe T374555 changes something here) from a title with an empty fragment (which represents a link to a section within a page).

Thu, May 14, 7:21 PM · Patch-For-Review, MediaWiki-Parser
matmarex merged T276679: hrefs to Section titles in the Contents box should escape reserved characters by percent encoding them into T326365: Section titles containing a question mark should be URL encoded in table of contents links.
Thu, May 14, 7:00 PM · Patch-Needs-Improvement, RoadToWiki, MediaWiki-Parser, Parsoid
matmarex merged task T276679: hrefs to Section titles in the Contents box should escape reserved characters by percent encoding them into T326365: Section titles containing a question mark should be URL encoded in table of contents links.
Thu, May 14, 7:00 PM · MediaWiki-Parser
matmarex merged T371772: Section missing in fragment into T2111: Return to the correct section after section edit for a heading that exists multiple times.
Thu, May 14, 6:57 PM · MediaWiki-Page-editing
matmarex merged task T371772: Section missing in fragment into T2111: Return to the correct section after section edit for a heading that exists multiple times.
Thu, May 14, 6:57 PM · MediaWiki-Parser
matmarex merged T199315: Autogenerated section link is created with wrong fragment if heading is repeated into T4831: Links in autogenerated summary in page histories may point to wrong section or to nowhere.
Thu, May 14, 6:57 PM · Hungarian-Sites, MediaWiki-Comment-store
matmarex merged task T199315: Autogenerated section link is created with wrong fragment if heading is repeated into T4831: Links in autogenerated summary in page histories may point to wrong section or to nowhere.
Thu, May 14, 6:57 PM · MediaWiki-Parser
matmarex renamed T246595: Media namespace links should allow fragments, e.g. for linking to specific page of PDF files from Media namespace links should allow fragments to Media namespace links should allow fragments, e.g. for linking to specific page of PDF files.
Thu, May 14, 6:48 PM · Patch-Needs-Improvement, Commons, MediaWiki-File-management, MediaWiki-Parser
matmarex added a comment to T6198: Suggestion to implement page-level links into uploaded PDF files [[media:foo.pdf|page=n]].

The syntax with | proposed in this task's title seems difficult to reconcile with other wikilink syntax, so I merged this into another task that proposes a syntax for linking to pages of PDFs that seems more practical to implement.

Thu, May 14, 6:47 PM · Multimedia, Commons, MediaWiki-File-management, All-and-every-Wikisource, MediaWiki-Parser
matmarex merged task T6198: Suggestion to implement page-level links into uploaded PDF files [[media:foo.pdf|page=n]] into T246595: Media namespace links should allow fragments, e.g. for linking to specific page of PDF files.
Thu, May 14, 6:46 PM · Multimedia, Commons, MediaWiki-File-management, All-and-every-Wikisource, MediaWiki-Parser
matmarex merged T6198: Suggestion to implement page-level links into uploaded PDF files [[media:foo.pdf|page=n]] into T246595: Media namespace links should allow fragments, e.g. for linking to specific page of PDF files.
Thu, May 14, 6:46 PM · Patch-Needs-Improvement, Commons, MediaWiki-File-management, MediaWiki-Parser
matmarex merged T225990: Support fragment identifiers in Media links into T246595: Media namespace links should allow fragments, e.g. for linking to specific page of PDF files.
Thu, May 14, 6:45 PM · Patch-Needs-Improvement, Commons, MediaWiki-File-management, MediaWiki-Parser
matmarex merged task T225990: Support fragment identifiers in Media links into T246595: Media namespace links should allow fragments, e.g. for linking to specific page of PDF files.
Thu, May 14, 6:45 PM · MediaWiki-Parser
matmarex added a comment to T2156: Allow editing the lead section of a page.

Yes, but (as a global interface editor myself) I am not sure that this would be appreciated, and we must not make "any controversial edits". I am hoping that a few projects will adopt this, receive positive comments about the change (or at least no negative ones), and at that point it will be uncontroversial to apply on projects that don't have very active gadget maintainers.

Thu, May 14, 4:35 PM · User-notice, Wikimedia Wishathon, VisualEditor, MediaWiki-Page-editing, Design, MediaWiki-User-Interface

Wed, May 13

matmarex added a comment to T426033: PHP Warning: unserialize(): Error at offset 0 of 13 bytes (in CentralAuth).

No, we'll need them both :)

Wed, May 13, 12:49 PM · MW-1.47-notes (1.47.0-wmf.1; 2026-05-05), MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, Wikimedia-production-error
matmarex added a comment to T426033: PHP Warning: unserialize(): Error at offset 0 of 13 bytes (in CentralAuth).

I added a backport for wmf.1, since that version is still live (see https://versions.toolforge.org/).

Wed, May 13, 12:44 PM · MW-1.47-notes (1.47.0-wmf.1; 2026-05-05), MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, Wikimedia-production-error
matmarex closed T417460: Use of darkmode-custom-fix should be discouraged as Resolved.
Wed, May 13, 12:34 PM · MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), MW-1.46-notes (1.46.0-wmf.17; 2026-02-24), DiscussionTools, Reader Experience Team, Codex
matmarex added a comment to T425972: POST by mw.ForeignApi is CORS-blocked when a Promise-Non-Write-API-Action header is provided.

https://www.mediawiki.org/wiki/Special:Diff/8373208

Wed, May 13, 12:21 PM · MW-1.47-notes (1.47.0-wmf.1; 2026-05-05), MediaWiki-General, MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth
matmarex added a comment to T2156: Allow editing the lead section of a page.

May I ask you all to update (or request updates to) your local gadgets…

Wed, May 13, 1:28 AM · User-notice, Wikimedia Wishathon, VisualEditor, MediaWiki-Page-editing, Design, MediaWiki-User-Interface
matmarex closed T362467: Section link should be added to the edit summary when editing the lead section, a subtask of T2156: Allow editing the lead section of a page, as Resolved.
Wed, May 13, 1:17 AM · User-notice, Wikimedia Wishathon, VisualEditor, MediaWiki-Page-editing, Design, MediaWiki-User-Interface
matmarex closed T362467: Section link should be added to the edit summary when editing the lead section as Resolved.
Wed, May 13, 1:17 AM · MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), MW-1.46-notes (1.46.0-wmf.26; 2026-04-28), MobileFrontend (MobileFrontend (Editor)), Desktop, MediaWiki-Page-editing, Mobile

Tue, May 12

matmarex added a comment to T40848: Security: CSS positioning can be used to break out of the content area.

This is technically easy to prevent even without modern CSS features like contain; if you scroll all the way up in this task, we've had proposed patches for this back in 2012-2014.

Tue, May 12, 10:17 PM · SecTeam-Processed, Vuln-Misconfiguration, Security, User-Tgr, TemplateStyles, MediaWiki-User-Interface
matmarex updated subscribers of T425972: POST by mw.ForeignApi is CORS-blocked when a Promise-Non-Write-API-Action header is provided.

Chasing this further, this advice is originally from @tstarling in T91820#8015440, where it was qualified with "probably".

Tue, May 12, 9:25 PM · MW-1.47-notes (1.47.0-wmf.1; 2026-05-05), MediaWiki-General, MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth
matmarex added a comment to T426033: PHP Warning: unserialize(): Error at offset 0 of 13 bytes (in CentralAuth).

Thanks for reporting. The warning is harmless; it will happen when the API query accesses legacy log entries, and we should suppress it, like here.

Tue, May 12, 8:55 PM · MW-1.47-notes (1.47.0-wmf.1; 2026-05-05), MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, Wikimedia-production-error

Mon, May 11

matmarex added a comment to T420125: Remove 'mediawiki.ui.input' module.

If a script uses the mw-ui-input CSS class without loading the mediawiki.ui.input module, then it won't be affected by its removal – it is either already broken, or already works perfectly. We stopped loading the mediawiki.ui.* modules on normal page views years ago.

Mon, May 11, 11:22 PM · User-notice-archive, MW-1.46-notes, MW-1.47-notes (1.47.0-wmf.2; 2026-05-12), Performance Issue, MediaWiki-extensions-Translate, StructuredDiscussions, Readers Essential Work (Codex), CSS, MediaWiki-User-Interface
matmarex added a comment to T423911: 1.47.0-wmf.2 deployment blockers.

As noted in T425988, there will probably be some deprecation warnings when you roll out the train, but I don't think this is a blocker. If it turns out to be a blocker, we can look into reverting some patches (or backporting some, if fixes become available).

Mon, May 11, 6:54 PM · Release-Engineering-Team (Priority Backlog 📥), Essential-Work, Release, Train Deployments
matmarex updated subscribers of T425988: Deprecated: Accessing the language without explicitly setting it via MediaHandler:setLanguage, MediaHandler::getHandler, or MediaHandlerFactory::getHandler.
Mon, May 11, 6:52 PM · MW-1.47-notes (1.47.0-wmf.2; 2026-05-12), Patch-For-Review, Commons, MediaWiki-File-management
matmarex closed T425782: [Core][BUG] Need to set language before accessing as Resolved.

The revert resolves the exception, now there is a a deprecation instead. I filed a separate task for it: T425988 (@MGChecker's patch can probably be repurposed for that one).

Mon, May 11, 6:47 PM · MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), Patch-For-Review, MediaWiki-File-management, Wikidata
matmarex closed T425782: [Core][BUG] Need to set language before accessing, a subtask of T423911: 1.47.0-wmf.2 deployment blockers, as Resolved.
Mon, May 11, 6:47 PM · Release-Engineering-Team (Priority Backlog 📥), Essential-Work, Release, Train Deployments
matmarex closed T425740: File:[filename] throws "RuntimeException: Need to set language before accessing." as Resolved.

The revert resolves the exception, now there is a a deprecation instead. I filed a separate task for it: T425988 (@MGChecker's patch can probably be repurposed for that one).

Mon, May 11, 6:47 PM · MediaWiki-Platform-Team (Kanban Board), Patch-For-Review, MW-1.46-release, User-brennen, MediaWiki-File-management
matmarex closed T425740: File:[filename] throws "RuntimeException: Need to set language before accessing.", a subtask of T423911: 1.47.0-wmf.2 deployment blockers, as Resolved.
Mon, May 11, 6:47 PM · Release-Engineering-Team (Priority Backlog 📥), Essential-Work, Release, Train Deployments
matmarex created T425988: Deprecated: Accessing the language without explicitly setting it via MediaHandler:setLanguage, MediaHandler::getHandler, or MediaHandlerFactory::getHandler.
Mon, May 11, 6:45 PM · MW-1.47-notes (1.47.0-wmf.2; 2026-05-12), Patch-For-Review, Commons, MediaWiki-File-management
matmarex added a comment to T414338: FY25-26 WE5.4.12: Identify the provenance of image requests.

@RoyZuo A more robust way would be to make the gadget download the image (or a thumbnail), then upload it to the search engine, instead of asking the search engine to fetch it from us, which may be blocked if they don't respect our user-agent policy.

Mon, May 11, 6:09 PM · MW-1.46-notes (1.46.0-wmf.26; 2026-04-28), Commons, MediaWiki-File-management, Epic, OKR-Work, MediaWiki-Platform-Team (Kanban Board)
matmarex claimed T425972: POST by mw.ForeignApi is CORS-blocked when a Promise-Non-Write-API-Action header is provided.

The OPTIONS response includes this header explaining why: MediaWiki-CORS-Rejection: Unsupported header requested in preflight, generated here: https://gerrit.wikimedia.org/g/mediawiki/core/+/cfc4399d7155c88c33f00678a8dbc2971526d10b/includes/Api/ApiMain.php#1230

Mon, May 11, 6:01 PM · MW-1.47-notes (1.47.0-wmf.1; 2026-05-05), MediaWiki-General, MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth
matmarex added a comment to T196386: MediaWiki should prevent username registration if the username previously existed.

Updated global groups too: https://meta.wikimedia.org/wiki/Special:Log?type=gblrights&user=Bartosz+Dziewoński+(WMF)&wpdate=2026-05-11&subtype=groupprms&limit=3

Mon, May 11, 3:26 PM · MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), MediaWiki-extensions-CentralAuth, MediaWiki-User-rename, MediaWiki-Platform-Team (Kanban Board), Product Safety and Integrity, Security
matmarex removed a project from T261752: Add an API module to display status of multiple globally locked users: Patch-For-Review.
Mon, May 11, 3:06 PM · MW-1.47-notes (1.47.0-wmf.1; 2026-05-05), MediaWiki-Platform-Team (Kanban Board), MediaWiki-extensions-CentralAuth, Platform Engineering, MediaWiki-Action-API
matmarex closed T261752: Add an API module to display status of multiple globally locked users as Resolved.

Thanks @Dragoniez! list=globalusers can be used in gadgets now.

Mon, May 11, 3:06 PM · MW-1.47-notes (1.47.0-wmf.1; 2026-05-05), MediaWiki-Platform-Team (Kanban Board), MediaWiki-extensions-CentralAuth, Platform Engineering, MediaWiki-Action-API
matmarex closed T261752: Add an API module to display status of multiple globally locked users, a subtask of T424846: Use a more efficient API in mark-locked.js user script and similar scripts/gadgets, as Resolved.
Mon, May 11, 3:06 PM · MediaWiki-Platform-Team (Kanban Board), Local-Wiki-Template-And-Gadget-Issues
matmarex moved T425099: Add native support for ES2021 to the minifier from Inbox, needs triage to Needs refinement on the MediaWiki-Platform-Team board.
Mon, May 11, 2:51 PM · Wikimedia-Hackathon-2026, Patch-For-Review, MediaWiki-Platform-Team, Wikimedia-Minify
matmarex moved T425100: Add native support for ES2022 to the minifier from Inbox, needs triage to Needs refinement on the MediaWiki-Platform-Team board.
Mon, May 11, 2:51 PM · Wikimedia-Hackathon-2026, Patch-For-Review, MediaWiki-Platform-Team, Wikimedia-Minify
matmarex moved T425102: Add native support for ES2023 to the minifier from Inbox, needs triage to Needs refinement on the MediaWiki-Platform-Team board.
Mon, May 11, 2:50 PM · Wikimedia-Hackathon-2026, Patch-For-Review, MediaWiki-Platform-Team, Wikimedia-Minify