Page MenuHomePhabricator

daniel (Daniel Kinzler)
User

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Sunday

  • Clear sailing ahead.

User Details

User Since
Oct 10 2014, 8:08 AM (532 w, 6 d)
Availability
Available
IRC Nick
dues, duesen
LDAP User
Daniel Kinzler
MediaWiki User
DKinzler (WMF) [ Global Accounts ]

Recent Activity

Fri, Dec 20

daniel added a comment to T380505: Investigate porting \GrowthExperiments\HomepageHooks::onPageSaveComplete to PageUpdated event.

Filed T382572: Clarify relationship between PageUpdatedEvent and EditResult

Fri, Dec 20, 8:36 AM · Patch-For-Review, Growth-Team (Maintenance), GrowthExperiments
daniel created T382572: Clarify relationship between PageUpdatedEvent and EditResult.
Fri, Dec 20, 8:36 AM · MW-Interfaces-Team, MediaWiki-Core-Hooks
daniel added a comment to T380505: Investigate porting \GrowthExperiments\HomepageHooks::onPageSaveComplete to PageUpdated event.

I noticed that \MediaWiki\Storage\PageUpdatedEvent::getPage returns a PageIdentity instead of a ProperPageIdentity. Is there a particular reason for that?

Fri, Dec 20, 8:25 AM · Patch-For-Review, Growth-Team (Maintenance), GrowthExperiments
daniel added a comment to T382341: Proposal: Introduce ParserInput object.

I'd generally try to avoid classes which are neither services (stateless) nor value objects (pure state). A PreviewParserInput that mixes page content with some DB access logic seems unwieldy.

Fri, Dec 20, 8:09 AM · MediaWiki-Platform-Team (Radar), MediaWiki-Parser, Content-Transform-Team
daniel closed T291316: 'purge' permission is not checked for action=purge as Resolved.

Closing as resolved. If anyone wants to re-open the discussion about restricting purges or providing a better mechanism for loading gadgets only for logged in users, please file a separate ticket.

Fri, Dec 20, 8:01 AM · Patch-For-Review, MW-1.42-notes (1.42.0-wmf.1; 2023-10-17), MW-1.41-notes, MediaWiki-Core-AuthManager

Thu, Dec 19

daniel moved T366349: Refactor ArrayDef::validate and ConfigSchemaAggregator::validateValue from In Progress to Backlog (Triaged and Ready) on the MW-Interfaces-Team board.
Thu, Dec 19, 9:46 PM · MediaWiki-REST-API, MW-Interfaces-Team
daniel moved T306150: New Vector Search should show redirects to sections or anchors (with fragment) from In Progress to Needs Further Discussion on the MW-Interfaces-Team board.
Thu, Dec 19, 9:46 PM · MW-Interfaces-Team, Patch-For-Review, Desktop Improvements (Vector 2022) (Tracking), Community Feedback (Web), Codex, Design-System-Team, Platform Engineering, API Platform
daniel added a comment to T306150: New Vector Search should show redirects to sections or anchors (with fragment).

I think this is just blocked on someone (tm) approving the name of the new field in the response. This is an addition to the response schema which cannot easily be undone. It's not clear to me who "owns" that schema...

Thu, Dec 19, 9:46 PM · MW-Interfaces-Team, Patch-For-Review, Desktop Improvements (Vector 2022) (Tracking), Community Feedback (Web), Codex, Design-System-Team, Platform Engineering, API Platform
daniel added a comment to T380013: Port GrowthExperiments to PageUpdated event.

My concern is that these generic HookHandler classes tend to grow way too large for large features. GE's HomepageHooks is over 1600 lines long, has 100 use ...; statements, and has 22 services injected and who knows how many more statically accessed in various hook handlers via $mwServices = MediaWikiServices::getInstance();. Extracting some private methods for readability and separation of concerns makes it even worse.

Thu, Dec 19, 9:20 PM · Growth-Team (Maintenance), Epic, GrowthExperiments, MW-Interfaces-Team
daniel added a comment to T382341: Proposal: Introduce ParserInput object.

IIRC those exist because we used to guess the page ID and rev ID when rendering the page before save (as part of the "is this a valid content object that can be saved?" tests), and reused the parser output when the guess was correct. Do we not do that anymore?

Thu, Dec 19, 4:46 PM · MediaWiki-Platform-Team (Radar), MediaWiki-Parser, Content-Transform-Team
daniel changed the status of T378936: Use the PageUpdatedEvent to trigger relevant updates in MediaWiki core, a subtask of T376063: Hypothesis WE5.2.3 (Q2 FY24/25): Introduce a system of events and listeners into MediaWiki core, from Open to In Progress.
Thu, Dec 19, 4:33 PM · MW-Interfaces-Team (MWI-Roadmap), MW-1.44-notes (1.44.0-wmf.6; 2024-12-03), MediaWiki-Core-Hooks, OKR-Work, FY2024-25 KR 5.2 Simplify feature development
daniel changed the status of T378936: Use the PageUpdatedEvent to trigger relevant updates in MediaWiki core from Open to In Progress.
Thu, Dec 19, 4:33 PM · MW-Interfaces-Team (MWI-Sprint-1 (2025-01-07 to 2025-01-21)), Patch-For-Review, MW-1.44-notes (1.44.0-wmf.5; 2024-11-25)
daniel set the point value for T380536: RevisionRecord::getPage() should return an immutable ProperPageIdentity to 2.

Straight forward coding, but some conceptual subtleties.

Thu, Dec 19, 4:32 PM · MW-Interfaces-Team (MWI-Sprint-1 (2025-01-07 to 2025-01-21)), Patch-For-Review, MW-1.44-notes (1.44.0-wmf.8; 2024-12-17), MediaWiki-Core-Revision-backend
daniel added a comment to T378936: Use the PageUpdatedEvent to trigger relevant updates in MediaWiki core.

Estimated 5 points. Most of the work is already done now. But the scope is rather large, perhaps this should be split into subtasks.

Thu, Dec 19, 4:31 PM · MW-Interfaces-Team (MWI-Sprint-1 (2025-01-07 to 2025-01-21)), Patch-For-Review, MW-1.44-notes (1.44.0-wmf.5; 2024-11-25)
daniel set the point value for T378936: Use the PageUpdatedEvent to trigger relevant updates in MediaWiki core to 5.
Thu, Dec 19, 4:31 PM · MW-Interfaces-Team (MWI-Sprint-1 (2025-01-07 to 2025-01-21)), Patch-For-Review, MW-1.44-notes (1.44.0-wmf.5; 2024-11-25)
daniel updated the task description for T378936: Use the PageUpdatedEvent to trigger relevant updates in MediaWiki core.
Thu, Dec 19, 4:30 PM · MW-Interfaces-Team (MWI-Sprint-1 (2025-01-07 to 2025-01-21)), Patch-For-Review, MW-1.44-notes (1.44.0-wmf.5; 2024-11-25)
daniel updated the task description for T378936: Use the PageUpdatedEvent to trigger relevant updates in MediaWiki core.
Thu, Dec 19, 4:29 PM · MW-Interfaces-Team (MWI-Sprint-1 (2025-01-07 to 2025-01-21)), Patch-For-Review, MW-1.44-notes (1.44.0-wmf.5; 2024-11-25)
daniel closed T381225: Search index and message cache no longer update on import and undelete as Resolved.

Should be fixed now. Not in production yet.

Thu, Dec 19, 4:25 PM · MW-Interfaces-Team (MWI-Sprint-1 (2025-01-07 to 2025-01-21))
daniel added a comment to T379775: DomainEventSource: support different dispatch modes.

Estimated 3 points, mostoly for discussing/defining semantics. The implementation is straight forward (and already compelte).

Thu, Dec 19, 4:24 PM · MW-Interfaces-Team (MWI-Sprint-1 (2025-01-07 to 2025-01-21)), Patch-For-Review, MediaWiki-Core-Hooks
daniel set the point value for T379775: DomainEventSource: support different dispatch modes to 3.
Thu, Dec 19, 4:23 PM · MW-Interfaces-Team (MWI-Sprint-1 (2025-01-07 to 2025-01-21)), Patch-For-Review, MediaWiki-Core-Hooks
daniel closed T365753: REST: expose a machine readable directory of available API modules as Resolved.

This is implemented now, though it's still not enabled in production.

Thu, Dec 19, 4:22 PM · MW-1.43-notes (1.43.0-wmf.24; 2024-09-24), Patch-For-Review, Documentation, MW-Interfaces-Team, MediaWiki-REST-API
daniel closed T365753: REST: expose a machine readable directory of available API modules, a subtask of T362480: Introduces support for modules into the REST API framework, as Resolved.
Thu, Dec 19, 4:22 PM · Patch-For-Review, Documentation, MW-Interfaces-Team, MediaWiki-REST-API
daniel moved T365513: REST: improve CSRF token handling from In Progress to Backlog (Triaged and Ready) on the MW-Interfaces-Team board.
Thu, Dec 19, 4:21 PM · Essential-Work, Patch-For-Review, MediaWiki-REST-API, MW-Interfaces-Team
daniel moved T374605: Migrate to UnionQueryBuilder in Extensions from In Progress to Backlog (Triaged and Ready) on the MW-Interfaces-Team board.
Thu, Dec 19, 4:20 PM · Patch-For-Review, User-Lens0021, Technical-Debt, MW-Interfaces-Team
daniel moved T359583: Provide a way to get sampled POST body logs from In Progress to Backlog (Triaged and Ready) on the MW-Interfaces-Team board.
Thu, Dec 19, 4:20 PM · MW-Interfaces-Team, Sustainability (Incident Followup), Observability-Logging
daniel moved T374429: ArrayDef:: start using JsonSchemaTrait::normalizeJsonSchema so we can also support the "list" and "map" types from Next Up to Backlog (Triaged and Ready) on the MW-Interfaces-Team board.
Thu, Dec 19, 4:20 PM · MediaWiki-REST-API, MW-Interfaces-Team
daniel moved T374429: ArrayDef:: start using JsonSchemaTrait::normalizeJsonSchema so we can also support the "list" and "map" types from In Progress to Next Up on the MW-Interfaces-Team board.
Thu, Dec 19, 4:19 PM · MediaWiki-REST-API, MW-Interfaces-Team
daniel moved T374136: Route /api/rest_v1/page/title endpoints to MediaWiki core from In Progress to Next Up on the MW-Interfaces-Team board.
Thu, Dec 19, 4:19 PM · MW-1.43-notes (1.43.0-wmf.28; 2024-10-22), MW-Interfaces-Team, RESTBase Sunsetting
daniel placed T374136: Route /api/rest_v1/page/title endpoints to MediaWiki core up for grabs.
Thu, Dec 19, 4:19 PM · MW-1.43-notes (1.43.0-wmf.28; 2024-10-22), MW-Interfaces-Team, RESTBase Sunsetting
daniel moved T378936: Use the PageUpdatedEvent to trigger relevant updates in MediaWiki core from In Progress to MWI-Sprint-1 (2025-01-07 to 2025-01-21) on the MW-Interfaces-Team board.
Thu, Dec 19, 4:18 PM · MW-Interfaces-Team (MWI-Sprint-1 (2025-01-07 to 2025-01-21)), Patch-For-Review, MW-1.44-notes (1.44.0-wmf.5; 2024-11-25)
daniel moved T381299: Emit PageUpdatedEvents on all occasion the page content changes. from In Progress to Needs Further Discussion on the MW-Interfaces-Team board.
Thu, Dec 19, 4:17 PM · Patch-For-Review, MW-Interfaces-Team
daniel moved T380536: RevisionRecord::getPage() should return an immutable ProperPageIdentity from In Progress to MWI-Sprint-1 (2025-01-07 to 2025-01-21) on the MW-Interfaces-Team board.
Thu, Dec 19, 4:17 PM · MW-Interfaces-Team (MWI-Sprint-1 (2025-01-07 to 2025-01-21)), Patch-For-Review, MW-1.44-notes (1.44.0-wmf.8; 2024-12-17), MediaWiki-Core-Revision-backend
daniel moved T379775: DomainEventSource: support different dispatch modes from In Progress to MWI-Sprint-1 (2025-01-07 to 2025-01-21) on the MW-Interfaces-Team board.
Thu, Dec 19, 4:10 PM · MW-Interfaces-Team (MWI-Sprint-1 (2025-01-07 to 2025-01-21)), Patch-For-Review, MediaWiki-Core-Hooks
daniel closed T379774: DomaineventDispatcher: add support for subscriber objects, a subtask of T376063: Hypothesis WE5.2.3 (Q2 FY24/25): Introduce a system of events and listeners into MediaWiki core, as Resolved.
Thu, Dec 19, 4:09 PM · MW-Interfaces-Team (MWI-Roadmap), MW-1.44-notes (1.44.0-wmf.6; 2024-12-03), MediaWiki-Core-Hooks, OKR-Work, FY2024-25 KR 5.2 Simplify feature development
daniel closed T379774: DomaineventDispatcher: add support for subscriber objects, a subtask of T378931: Allow extensions to register listeners for domain events, as Resolved.
Thu, Dec 19, 4:09 PM · MW-1.44-notes (1.44.0-wmf.5; 2024-11-25), MediaWiki-General, MW-Interfaces-Team
daniel closed T379774: DomaineventDispatcher: add support for subscriber objects as Resolved.
Thu, Dec 19, 4:09 PM · MW-1.44-notes (1.44.0-wmf.5; 2024-11-25), MediaWiki-General, MW-Interfaces-Team
daniel closed T378931: Allow extensions to register listeners for domain events, a subtask of T376063: Hypothesis WE5.2.3 (Q2 FY24/25): Introduce a system of events and listeners into MediaWiki core, as Resolved.
Thu, Dec 19, 4:08 PM · MW-Interfaces-Team (MWI-Roadmap), MW-1.44-notes (1.44.0-wmf.6; 2024-12-03), MediaWiki-Core-Hooks, OKR-Work, FY2024-25 KR 5.2 Simplify feature development
daniel closed T378931: Allow extensions to register listeners for domain events, a subtask of T378937: Port Linter extension to PageUpdated event, as Resolved.
Thu, Dec 19, 4:08 PM · MW-1.44-notes (1.44.0-wmf.5; 2024-11-25), FY2024-25 KR 5.2 Simplify feature development, Content-Transform-Team, MediaWiki-extensions-Linter, MW-Interfaces-Team
daniel closed T378931: Allow extensions to register listeners for domain events as Resolved.
Thu, Dec 19, 4:08 PM · MW-1.44-notes (1.44.0-wmf.5; 2024-11-25), MediaWiki-General, MW-Interfaces-Team
daniel moved T381225: Search index and message cache no longer update on import and undelete from In Progress to MWI-Sprint-1 (2025-01-07 to 2025-01-21) on the MW-Interfaces-Team board.
Thu, Dec 19, 4:08 PM · MW-Interfaces-Team (MWI-Sprint-1 (2025-01-07 to 2025-01-21))
daniel closed T378937: Port Linter extension to PageUpdated event, a subtask of T376063: Hypothesis WE5.2.3 (Q2 FY24/25): Introduce a system of events and listeners into MediaWiki core, as Resolved.
Thu, Dec 19, 4:07 PM · MW-Interfaces-Team (MWI-Roadmap), MW-1.44-notes (1.44.0-wmf.6; 2024-12-03), MediaWiki-Core-Hooks, OKR-Work, FY2024-25 KR 5.2 Simplify feature development
daniel closed T378937: Port Linter extension to PageUpdated event as Resolved.
Thu, Dec 19, 4:07 PM · MW-1.44-notes (1.44.0-wmf.5; 2024-11-25), FY2024-25 KR 5.2 Simplify feature development, Content-Transform-Team, MediaWiki-extensions-Linter, MW-Interfaces-Team
daniel added a comment to T381982: Fatal exception of type "Wikimedia\Assert\PreconditionException" when marking a page for translation.

Using the main page as a placeholder title should be declared as an anti pattern?

Thu, Dec 19, 1:19 PM · Content-Transform-Team-WIP, MediaWiki-extensions-Linter, Parsoid, MW-1.44-notes (1.44.0-wmf.8; 2024-12-17), LPL Essential (LPL Essential 2024 Nov-Dec), MediaWiki-extensions-Translate, affects-translatewiki.net, MW-Interfaces-Team

Wed, Dec 18

daniel added a project to T382086: MediaWiki ships a copy of swagger-ui with license problems: WMF-Legal.

Tagging WMF-Legal

As the WMF-Legal project tag was added to this task, some general information to avoid wrong expectations:
Please note that public tasks in Wikimedia Phabricator are in general not a place where to expect feedback from the Legal Team of the Wikimedia Foundation due to the scope of the team and/or nature of legal topics. See the project tag description.
Please see https://meta.wikimedia.org/wiki/Legal for when and how to contact the Legal Team. Thanks!

Wed, Dec 18, 9:21 PM · WMF-Legal, Upstream, MW-Interfaces-Team, MW-1.43-release, MediaWiki-Debian, Software-Licensing, MediaWiki-REST-API
daniel added a comment to T381982: Fatal exception of type "Wikimedia\Assert\PreconditionException" when marking a page for translation.

Fun fact: the issue with SignatureValidator wasn't caught in CI because it only happens if the main page is a special page. SignatureValidator uses the main page pas parsing context, which usually works fine... but on translatewiki.net it doesn't.

Wed, Dec 18, 9:08 PM · Content-Transform-Team-WIP, MediaWiki-extensions-Linter, Parsoid, MW-1.44-notes (1.44.0-wmf.8; 2024-12-17), LPL Essential (LPL Essential 2024 Nov-Dec), MediaWiki-extensions-Translate, affects-translatewiki.net, MW-Interfaces-Team
daniel lowered the priority of T381299: Emit PageUpdatedEvents on all occasion the page content changes. from High to Medium.
Wed, Dec 18, 8:16 PM · Patch-For-Review, MW-Interfaces-Team
daniel added a comment to T381299: Emit PageUpdatedEvents on all occasion the page content changes..

The obvious cases are done. Keeping this open to remind us to have another look at additional cases that may need covering.

Wed, Dec 18, 8:15 PM · Patch-For-Review, MW-Interfaces-Team
daniel updated the task description for T381299: Emit PageUpdatedEvents on all occasion the page content changes..
Wed, Dec 18, 8:15 PM · Patch-For-Review, MW-Interfaces-Team
daniel added a comment to T382086: MediaWiki ships a copy of swagger-ui with license problems.

Can we just include a file that has the URLs of all the licenses? Swagger depends on some 35 packages, it seems: https://github.com/swagger-api/swagger-ui/blob/master/package-lock.json#L12C1-L47C30

Wed, Dec 18, 3:16 PM · WMF-Legal, Upstream, MW-Interfaces-Team, MW-1.43-release, MediaWiki-Debian, Software-Licensing, MediaWiki-REST-API
daniel added a comment to T381982: Fatal exception of type "Wikimedia\Assert\PreconditionException" when marking a page for translation.

Both the revert and the patch made it to MW-1.44-notes (1.44.0-wmf.8; 2024-12-17) and the breaking change was only in that branch. That thus never made it to Wikimedia production. That was apparently caught on translatewiki (which runs out of the master branch), was fixed in time and thus is no more blocking the train ;)

Wed, Dec 18, 2:52 PM · Content-Transform-Team-WIP, MediaWiki-extensions-Linter, Parsoid, MW-1.44-notes (1.44.0-wmf.8; 2024-12-17), LPL Essential (LPL Essential 2024 Nov-Dec), MediaWiki-extensions-Translate, affects-translatewiki.net, MW-Interfaces-Team
daniel added a comment to T380536: RevisionRecord::getPage() should return an immutable ProperPageIdentity.

@cscott I agree with all that, except for thinking of the thing being parsed as a revision. I did until recently, and I have now convinced myself that it was a mistake. Maybe you can convince me back ;)

Wed, Dec 18, 9:39 AM · MW-Interfaces-Team (MWI-Sprint-1 (2025-01-07 to 2025-01-21)), Patch-For-Review, MW-1.44-notes (1.44.0-wmf.8; 2024-12-17), MediaWiki-Core-Revision-backend
daniel updated the task description for T382341: Proposal: Introduce ParserInput object.
Wed, Dec 18, 9:36 AM · MediaWiki-Platform-Team (Radar), MediaWiki-Parser, Content-Transform-Team
daniel added a comment to T382086: MediaWiki ships a copy of swagger-ui with license problems.

Noting that resources/lib/swagger-ui/LICENSE is there, but is a copy of the Apache 2.0.

There's no LICENSE.txt in the upstream repo either...

Wed, Dec 18, 9:30 AM · WMF-Legal, Upstream, MW-Interfaces-Team, MW-1.43-release, MediaWiki-Debian, Software-Licensing, MediaWiki-REST-API

Tue, Dec 17

daniel added a comment to T382341: Proposal: Introduce ParserInput object.

I agree with @Tgr that this doesn't do much about the currentRevisionRecordCallback, which is part of the process used to map a Link_target to a "revision" (really maybe a fragment or content?).

Tue, Dec 17, 9:02 PM · MediaWiki-Platform-Team (Radar), MediaWiki-Parser, Content-Transform-Team
daniel added a comment to T380536: RevisionRecord::getPage() should return an immutable ProperPageIdentity.

That said, I don't know that the "fake revision content wrapper" class *necessarily* has to be a MutableRevisionRecord. We could tighten up the MutableRevisionRecord type and still provide some other sort of "fake revision" interface.

Tue, Dec 17, 3:28 PM · MW-Interfaces-Team (MWI-Sprint-1 (2025-01-07 to 2025-01-21)), Patch-For-Review, MW-1.44-notes (1.44.0-wmf.8; 2024-12-17), MediaWiki-Core-Revision-backend
daniel added a comment to T369898: Reduce the number of resource_change and resource_purge events emitted due to template changes.

I don't see how we can stop caching and purging the rest api urls.

Tue, Dec 17, 3:26 PM · Content-Transform-Team, Essential-Work, MW-1.43-notes (1.43.0-wmf.16; 2024-07-30), serviceops, Performance Issue, MediaWiki-Engineering, MediaWiki-Core-HTTP-Cache, ChangeProp
daniel updated the task description for T382341: Proposal: Introduce ParserInput object.
Tue, Dec 17, 2:58 PM · MediaWiki-Platform-Team (Radar), MediaWiki-Parser, Content-Transform-Team
daniel added a comment to T381982: Fatal exception of type "Wikimedia\Assert\PreconditionException" when marking a page for translation.

@abi_ on what wiki did this happen? Or more importantly, with what version of MediaWiki? Is this from production? Or from CI?

Tue, Dec 17, 2:55 PM · Content-Transform-Team-WIP, MediaWiki-extensions-Linter, Parsoid, MW-1.44-notes (1.44.0-wmf.8; 2024-12-17), LPL Essential (LPL Essential 2024 Nov-Dec), MediaWiki-extensions-Translate, affects-translatewiki.net, MW-Interfaces-Team
daniel added a comment to T380677: Wikimedia\Assert\ParameterAssertionException: Bad value for parameter $page: must represent an existing page.

https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1094003 isn't listed in the wmf.6 pick-list, which makes sense because it was merged on 11th December and wmf.6 was cut on 3rd December; this patch hasn't been deployed to production yet.

Tue, Dec 17, 2:45 PM · MediaWiki-Interwiki, MediaWiki-Recent-changes, MediaWiki-Core-DeferredUpdates, Moderator-Tools-Team, Wikimedia-production-error
daniel created T382341: Proposal: Introduce ParserInput object.
Tue, Dec 17, 2:28 PM · MediaWiki-Platform-Team (Radar), MediaWiki-Parser, Content-Transform-Team
daniel added a comment to T380536: RevisionRecord::getPage() should return an immutable ProperPageIdentity.

Turns out that forcing a ProperPageIdentity is at odds with the way we use "fake" revisions as parser input: T381982: Fatal exception of type "Wikimedia\Assert\PreconditionException" when marking a page for translation. The conceptual conflict is that revisions can only exist on editable pages, but page content (including multi-slot content) needs to be parsed in the context of a special page (or no page at all).

Tue, Dec 17, 2:17 PM · MW-Interfaces-Team (MWI-Sprint-1 (2025-01-07 to 2025-01-21)), Patch-For-Review, MW-1.44-notes (1.44.0-wmf.8; 2024-12-17), MediaWiki-Core-Revision-backend
daniel added a comment to T380677: Wikimedia\Assert\ParameterAssertionException: Bad value for parameter $page: must represent an existing page.

Looking at other errors in the requests that trigger this error indicate that this may be the consequence of something else failing... In all requests that I looked at, ParserCache is triggering a warning for "inconsistent revision ID", e.g. https://logstash.wikimedia.org/goto/386604c4622a5a49eea2b4823fe3e364 and https://logstash.wikimedia.org/goto/9f64b0643577d3708f452b3027e9ebf9. Many of the affected requests seem to be using pygmentize, but not all do: https://logstash.wikimedia.org/goto/31b977e276d74ba77b2f131b9a4e59b1.

Tue, Dec 17, 11:00 AM · MediaWiki-Interwiki, MediaWiki-Recent-changes, MediaWiki-Core-DeferredUpdates, Moderator-Tools-Team, Wikimedia-production-error
daniel added a comment to T380677: Wikimedia\Assert\ParameterAssertionException: Bad value for parameter $page: must represent an existing page.

The patch that I hoped would fix this rode the train on the week of December 9th (1.44.0-wmf.6), but apparently didn't fix the issue. I'm confused about the fact that it did nothing. I would have expected the error to at least be triggered earlier, in the constructor of RevisionRecord. If the RevisionRecord was constructed on an existing page, and it's immutable, how can the page later not exist?...

Tue, Dec 17, 7:35 AM · MediaWiki-Interwiki, MediaWiki-Recent-changes, MediaWiki-Core-DeferredUpdates, Moderator-Tools-Team, Wikimedia-production-error

Thu, Dec 12

daniel updated the task description for T369898: Reduce the number of resource_change and resource_purge events emitted due to template changes.
Thu, Dec 12, 8:31 AM · Content-Transform-Team, Essential-Work, MW-1.43-notes (1.43.0-wmf.16; 2024-07-30), serviceops, Performance Issue, MediaWiki-Engineering, MediaWiki-Core-HTTP-Cache, ChangeProp

Wed, Dec 11

daniel added a comment to T354037: rest.php/v1/transform/html/to/wikitext with if-match fails with "No stashed content found for" and HTTP 412.

@Legoktm There may be no need for stashing or etags at all if you use the output of https://en.wikipedia.org/w/rest.php/v1/page/Earth/html?flavor=edit. flavor=edit makes it embed all the parsoid annotations in the HTML, which should allow the transform endpoint to turn HTML back into wikitext without the need for stashed state.

Wed, Dec 11, 2:53 PM · Content-Transform-Team, MW-Interfaces-Team, RESTBase Sunsetting, MediaWiki-REST-API
daniel added a comment to T380013: Port GrowthExperiments to PageUpdated event.

The safest pattern for service injection is to use a separate handler for each hook, and to inject only the services needed by that hook.

Calling a hook with the noServices option disables service injection. If a handler for such a hook specifies services, an exception will be thrown when the hook is called.

To me, that line of reasoning makes sense for events as well. Thus, wondering how to name that directory within a component that holds the various handlers.
What do you think?

Wed, Dec 11, 1:34 PM · Growth-Team (Maintenance), Epic, GrowthExperiments, MW-Interfaces-Team
daniel added a comment to T242596: Allow .tab and .map files to be added to categories.

This would be rather cumbersome in the .map format. GeoJSON allows for a description field that could be abused for this role, but I think it would be a pain to parse.

Wed, Dec 11, 8:29 AM · Charts, Commons-Datasets

Fri, Dec 6

daniel added a comment to T380013: Port GrowthExperiments to PageUpdated event.

What would be a good convention for naming the directory that holds the event subscribers?

Fri, Dec 6, 9:57 AM · Growth-Team (Maintenance), Epic, GrowthExperiments, MW-Interfaces-Team
daniel closed T379933: Port ContentTranslation extension to PageUpdated event, a subtask of T376063: Hypothesis WE5.2.3 (Q2 FY24/25): Introduce a system of events and listeners into MediaWiki core, as Resolved.
Fri, Dec 6, 9:44 AM · MW-Interfaces-Team (MWI-Roadmap), MW-1.44-notes (1.44.0-wmf.6; 2024-12-03), MediaWiki-Core-Hooks, OKR-Work, FY2024-25 KR 5.2 Simplify feature development
daniel closed T379933: Port ContentTranslation extension to PageUpdated event as Resolved.

Thank you!

Fri, Dec 6, 9:43 AM · Patch-For-Review, MW-1.44-notes (1.44.0-wmf.8; 2024-12-17), LPL Essential (LPL Essential 2024 Nov-Dec), Unplanned-Sprint-Work, ContentTranslation, MW-Interfaces-Team

Thu, Dec 5

daniel added a project to T309855: Deploy WatchlistNotifications feature to production wikis: User-Daniel.
Thu, Dec 5, 2:49 PM · User-Daniel, Growth-Team, Notifications, User-notice
daniel added a comment to T381299: Emit PageUpdatedEvents on all occasion the page content changes..
Thu, Dec 5, 1:27 PM · Patch-For-Review, MW-Interfaces-Team
daniel added a comment to T381299: Emit PageUpdatedEvents on all occasion the page content changes..

would/should return:

  • The user that performed the purge/changed the restriction, or the user that performed the last edit?
  • The user that imported the page or the user that saved the last revision at the source wiki?
  • The user that undeleted a revision, or the user that created that undeleted revision, or the user that created the latest revision of the article?
Thu, Dec 5, 1:25 PM · Patch-For-Review, MW-Interfaces-Team
daniel added a comment to T381299: Emit PageUpdatedEvents on all occasion the page content changes..

purges (see ApiPurge and maybe also PurgeAction).

Hm! Are these page updates? The page (and its revisions) aren't actually changing here, right? It is a materialized view/cached version (html, etc.) of the page that is changing?

Thu, Dec 5, 1:22 PM · Patch-For-Review, MW-Interfaces-Team
daniel updated the task description for T381299: Emit PageUpdatedEvents on all occasion the page content changes..
Thu, Dec 5, 8:56 AM · Patch-For-Review, MW-Interfaces-Team
daniel updated the task description for T381299: Emit PageUpdatedEvents on all occasion the page content changes..
Thu, Dec 5, 6:44 AM · Patch-For-Review, MW-Interfaces-Team
daniel updated the task description for T381299: Emit PageUpdatedEvents on all occasion the page content changes..
Thu, Dec 5, 6:42 AM · Patch-For-Review, MW-Interfaces-Team

Wed, Dec 4

daniel updated the task description for T381299: Emit PageUpdatedEvents on all occasion the page content changes..
Wed, Dec 4, 7:52 PM · Patch-For-Review, MW-Interfaces-Team
daniel updated the task description for T381299: Emit PageUpdatedEvents on all occasion the page content changes..
Wed, Dec 4, 7:00 PM · Patch-For-Review, MW-Interfaces-Team
daniel updated the task description for T381299: Emit PageUpdatedEvents on all occasion the page content changes..
Wed, Dec 4, 6:59 PM · Patch-For-Review, MW-Interfaces-Team
daniel added a comment to T380427: TypeError: Argument 1 passed to MediaWiki\DomainEvent\EventDispatchEngine::__construct() must be an instance of Wikimedia\ObjectFactory\ObjectFactory, instance of MediaWiki\HookContainer\HookContainer given.

Hm, odd. This looks like fallout from https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1092772 and https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1088321, rfespectively. I can only assume that the test infrastructure was running on an inconsistent copy of the code. If this was a "real" problem, the site would be on fire.

Wed, Dec 4, 2:34 PM · FY2024-25 KR 5.2 Simplify feature development, MW-Interfaces-Team, Abstract Wikipedia team, Beta-Cluster-reproducible, WikiLambda
daniel updated the task description for T381299: Emit PageUpdatedEvents on all occasion the page content changes..
Wed, Dec 4, 8:21 AM · Patch-For-Review, MW-Interfaces-Team

Tue, Dec 3

daniel updated the task description for T381299: Emit PageUpdatedEvents on all occasion the page content changes..
Tue, Dec 3, 9:25 AM · Patch-For-Review, MW-Interfaces-Team

Mon, Dec 2

daniel added a comment to T379933: Port ContentTranslation extension to PageUpdated event.

Summary of a conversation with @santhosh on Slack:

Mon, Dec 2, 6:17 PM · Patch-For-Review, MW-1.44-notes (1.44.0-wmf.8; 2024-12-17), LPL Essential (LPL Essential 2024 Nov-Dec), Unplanned-Sprint-Work, ContentTranslation, MW-Interfaces-Team
daniel updated the task description for T381299: Emit PageUpdatedEvents on all occasion the page content changes..
Mon, Dec 2, 5:58 PM · Patch-For-Review, MW-Interfaces-Team
daniel created T381299: Emit PageUpdatedEvents on all occasion the page content changes..
Mon, Dec 2, 5:56 PM · Patch-For-Review, MW-Interfaces-Team
daniel closed T378927: Add support for wiring files for domain events as Declined.

We decided to go with the subsciber patter, which provides a natural way of wiring core components. See the ChangeTrackingEventIngress class for an example.

Mon, Dec 2, 5:54 PM · FY2024-25 KR 5.2 Simplify feature development, Dependency injection, MediaWiki-Core-Hooks, MW-Interfaces-Team
daniel closed T378927: Add support for wiring files for domain events, a subtask of T376063: Hypothesis WE5.2.3 (Q2 FY24/25): Introduce a system of events and listeners into MediaWiki core, as Declined.
Mon, Dec 2, 5:54 PM · MW-Interfaces-Team (MWI-Roadmap), MW-1.44-notes (1.44.0-wmf.6; 2024-12-03), MediaWiki-Core-Hooks, OKR-Work, FY2024-25 KR 5.2 Simplify feature development

Sun, Dec 1

daniel updated the task description for T381225: Search index and message cache no longer update on import and undelete.
Sun, Dec 1, 5:47 PM · MW-Interfaces-Team (MWI-Sprint-1 (2025-01-07 to 2025-01-21))
daniel triaged T381225: Search index and message cache no longer update on import and undelete as High priority.
Sun, Dec 1, 5:26 PM · MW-Interfaces-Team (MWI-Sprint-1 (2025-01-07 to 2025-01-21))
daniel created T381225: Search index and message cache no longer update on import and undelete.
Sun, Dec 1, 5:26 PM · MW-Interfaces-Team (MWI-Sprint-1 (2025-01-07 to 2025-01-21))
daniel added a comment to T379959: Design and document new Domain Events feature in MediaWiki core.

DomainEventSubscriber - Uses a DomainEventListenerRegistr(ar|y) instance to automate registering listeners (unchnaged)

I think you mean "Uses a DomainEventSource..." ya?

Sun, Dec 1, 9:42 AM · Data-Engineering (Q2 2024 October 1st - December 31th), MW-1.44-notes (1.44.0-wmf.5; 2024-11-25), MediaWiki-Core-Hooks, MW-Interfaces-Team, OKR-Work, FY2024-25 KR 5.2 Simplify feature development
daniel added a comment to T379959: Design and document new Domain Events feature in MediaWiki core.
Sun, Dec 1, 9:39 AM · Data-Engineering (Q2 2024 October 1st - December 31th), MW-1.44-notes (1.44.0-wmf.5; 2024-11-25), MediaWiki-Core-Hooks, MW-Interfaces-Team, OKR-Work, FY2024-25 KR 5.2 Simplify feature development
daniel awarded T380992: Improve documentation for extension.json schema a Orange Medal token.
Sun, Dec 1, 9:33 AM · MediaWiki-Documentation

Sat, Nov 30

daniel added a comment to T277920: Deleted revisions are not counted when viewing a diff.

This all comes back to T20493: RFC: Unify the various deletion systems

Sat, Nov 30, 11:23 AM · MediaWiki-Platform-Team (Radar), MediaWiki-Revision-deletion, MediaWiki-Page-diffs

Wed, Nov 27

daniel added a comment to T262407: Find or create tools for detecting architectural boundary violations.

See also T364652: Make component boundaries in MediaWiki core easier to discover

Wed, Nov 27, 2:57 PM · User-Daniel, MediaWiki-Engineering
daniel added a comment to T262407: Find or create tools for detecting architectural boundary violations.

It seems to me that https://github.com/qossmic/deptrac may be a good condidate. A first step might be to ensure that code under libs/ doesn't use code outside libs/.

Wed, Nov 27, 2:48 PM · User-Daniel, MediaWiki-Engineering
daniel added a project to T262407: Find or create tools for detecting architectural boundary violations: User-Daniel.
Wed, Nov 27, 2:47 PM · User-Daniel, MediaWiki-Engineering
daniel added a project to T221795: Refactor Category::refreshCounts logic to a job and simplify: User-Daniel.
Wed, Nov 27, 2:45 PM · User-Daniel, MediaWiki-Engineering, Wikimedia-Performance-recommendation, Sustainability (Incident Followup), MediaWiki-Categories

Nov 26 2024

daniel added a comment to T380505: Investigate porting \GrowthExperiments\HomepageHooks::onPageSaveComplete to PageUpdated event.

I'm unsure if running a deferred update from a deferred update is a problem or not.

Nov 26 2024, 9:31 PM · Patch-For-Review, Growth-Team (Maintenance), GrowthExperiments
  NODES
COMMUNITY 2
Note 40
Project 7
USERS 1