Page MenuHomePhabricator
Feed Advanced Search

Yesterday

daniel updated the task description for T361013: Update lint tables independently of changeprop/restbase.
Fri, Apr 19, 10:49 AM · Patch-For-Review, RESTBase Sunsetting, Content-Transform-Team

Thu, Apr 18

daniel moved T358560: Rest: Replace BodyValidator with JSON schema based validation from Backlog (Triaged and Ready) to In Progress on the MW-Interfaces-Team board.
Thu, Apr 18, 3:23 PM · MW-1.43-notes (1.43.0-wmf.1; 2024-04-16), Patch-For-Review, MW-Interfaces-Team, API Platform, MediaWiki-REST-API
daniel raised the priority of T336693: Re-implement reading lists REST interface outside RESTbase from Low to Medium.
Thu, Apr 18, 3:22 PM · MW-Interfaces-Team, API Platform, Reading List Service, MediaWiki-extensions-ReadingList, RESTBase Sunsetting
daniel moved T358560: Rest: Replace BodyValidator with JSON schema based validation from In Progress to Backlog (Triaged and Ready) on the MW-Interfaces-Team board.
Thu, Apr 18, 3:21 PM · MW-1.43-notes (1.43.0-wmf.1; 2024-04-16), Patch-For-Review, MW-Interfaces-Team, API Platform, MediaWiki-REST-API
daniel added a comment to T362817: PHP Deprecated: The "post" source is deprecated, use "body" instead [Called from MediaWiki\Rest\Validator\ParamValidatorCallbacks::getValue].

I wrote a proposal for an alternative to deprecating "post" parameters: T362850: REST: clarify the relationship between "post" and "body" parameters

Thu, Apr 18, 8:21 AM · MW-1.43-notes (1.43.0-wmf.1; 2024-04-16), Patch-For-Review, Growth-Team, GrowthExperiments, MediaWiki-Platform-Team, MediaWiki-extensions-OAuth, Wikimedia-production-error
daniel created T362850: REST: clarify the relationship between "post" and "body" parameters.
Thu, Apr 18, 8:20 AM · MW-Interfaces-Team, MediaWiki-REST-API

Wed, Apr 17

daniel added a comment to T362817: PHP Deprecated: The "post" source is deprecated, use "body" instead [Called from MediaWiki\Rest\Validator\ParamValidatorCallbacks::getValue].

This may not have been such a good idea afterall. I'll think about it some more before re-submitting.

Wed, Apr 17, 7:53 PM · MW-1.43-notes (1.43.0-wmf.1; 2024-04-16), Patch-For-Review, Growth-Team, GrowthExperiments, MediaWiki-Platform-Team, MediaWiki-extensions-OAuth, Wikimedia-production-error
daniel triaged T362006: Provide a Swagger-UI for exploring the core REST API as Low priority.
Wed, Apr 17, 4:27 PM · Patch-For-Review, MediaWiki-REST-API, MW-Interfaces-Team, Documentation, API Platform (RESTbase Deprecation Roadmap), Code-Health
daniel changed the status of T361995: Remove usage of JsonBodyValidator from extensions from Open to In Progress.
Wed, Apr 17, 4:27 PM · MW-1.43-notes (1.43.0-wmf.2; 2024-04-23), Patch-For-Review, MW-Interfaces-Team, MediaWiki-REST-API
daniel assigned T361995: Remove usage of JsonBodyValidator from extensions to Atieno.
Wed, Apr 17, 4:26 PM · MW-1.43-notes (1.43.0-wmf.2; 2024-04-23), Patch-For-Review, MW-Interfaces-Team, MediaWiki-REST-API
daniel changed the status of T361995: Remove usage of JsonBodyValidator from extensions, a subtask of T358560: Rest: Replace BodyValidator with JSON schema based validation, from Open to In Progress.
Wed, Apr 17, 4:26 PM · MW-1.43-notes (1.43.0-wmf.1; 2024-04-16), Patch-For-Review, MW-Interfaces-Team, API Platform, MediaWiki-REST-API
daniel moved T312568: Provide a way to obtain the URL of a REST endpoint on another wiki from Incoming (Needs Triage) to Backlog (Triaged and Ready) on the MW-Interfaces-Team board.
Wed, Apr 17, 4:26 PM · Campaign-Tools, MW-Interfaces-Team, Patch-For-Review, MediaWiki-Site-system, MediaWiki-Configuration, API Platform, Platform Engineering, MediaWiki-REST-API
daniel triaged T361995: Remove usage of JsonBodyValidator from extensions as High priority.
Wed, Apr 17, 4:26 PM · MW-1.43-notes (1.43.0-wmf.2; 2024-04-23), Patch-For-Review, MW-Interfaces-Team, MediaWiki-REST-API
daniel triaged T362480: Introduces the notion of modules into the REST API framework as Medium priority.
Wed, Apr 17, 4:26 PM · Patch-For-Review, Documentation, MW-Interfaces-Team, MediaWiki-REST-API
daniel moved T361995: Remove usage of JsonBodyValidator from extensions from Incoming (Needs Triage) to Backlog (Triaged and Ready) on the MW-Interfaces-Team board.
Wed, Apr 17, 4:25 PM · MW-1.43-notes (1.43.0-wmf.2; 2024-04-23), Patch-For-Review, MW-Interfaces-Team, MediaWiki-REST-API
daniel moved T362006: Provide a Swagger-UI for exploring the core REST API from Incoming (Needs Triage) to Backlog (Triaged and Ready) on the MW-Interfaces-Team board.
Wed, Apr 17, 4:25 PM · Patch-For-Review, MediaWiki-REST-API, MW-Interfaces-Team, Documentation, API Platform (RESTbase Deprecation Roadmap), Code-Health
daniel triaged T362108: Implement JSON schema validation in ArrayDef as High priority.
Wed, Apr 17, 4:25 PM · MW-Interfaces-Team, MediaWiki-REST-API
daniel moved T362108: Implement JSON schema validation in ArrayDef from Incoming (Needs Triage) to Backlog (Triaged and Ready) on the MW-Interfaces-Team board.
Wed, Apr 17, 4:25 PM · MW-Interfaces-Team, MediaWiki-REST-API
daniel moved T362480: Introduces the notion of modules into the REST API framework from Incoming (Needs Triage) to Backlog (Triaged and Ready) on the MW-Interfaces-Team board.
Wed, Apr 17, 4:25 PM · Patch-For-Review, Documentation, MW-Interfaces-Team, MediaWiki-REST-API
daniel triaged T362576: ReadingLists: Improve mocha test coverage as Medium priority.
Wed, Apr 17, 4:24 PM · MW-Interfaces-Team, Reading List Service, MediaWiki-extensions-ReadingList, RESTBase Sunsetting
daniel moved T362576: ReadingLists: Improve mocha test coverage from Incoming (Needs Triage) to Backlog (Triaged and Ready) on the MW-Interfaces-Team board.
Wed, Apr 17, 4:24 PM · MW-Interfaces-Team, Reading List Service, MediaWiki-extensions-ReadingList, RESTBase Sunsetting
daniel added a comment to T340185: The MW Rest API does not normalize its string request parameters.

FWIW the REST API uses MediaWiki\Rest\Validator\ParamValidatorCallbacks

Yeah, in fact there's this fun little comment in ParamValidatorCallbacks.php, in the getValue function:

		// @todo Should normalization to NFC UTF-8 be done here (much like in the
		// action API and the rest of MW), or should it be left to handlers to
		// do whatever normalization they need?
Wed, Apr 17, 4:24 PM · MW-Interfaces-Team, MediaWiki-REST-API
daniel triaged T340185: The MW Rest API does not normalize its string request parameters as High priority.
Wed, Apr 17, 4:23 PM · MW-Interfaces-Team, MediaWiki-REST-API
daniel moved T340185: The MW Rest API does not normalize its string request parameters from Incoming (Needs Triage) to Backlog (Triaged and Ready) on the MW-Interfaces-Team board.
Wed, Apr 17, 4:23 PM · MW-Interfaces-Team, MediaWiki-REST-API
daniel added a comment to T362006: Provide a Swagger-UI for exploring the core REST API.

@Reedy On the patch you expressed concern about the size of the JS code that we'd ship. Do you have an idea of how we could reduce it?

Wed, Apr 17, 1:49 PM · Patch-For-Review, MediaWiki-REST-API, MW-Interfaces-Team, Documentation, API Platform (RESTbase Deprecation Roadmap), Code-Health
daniel added a comment to T362006: Provide a Swagger-UI for exploring the core REST API.

The layout of the page is less then perfect. For now, I was hoping to have it merged and enabled on beta and testwiki, so we can try it out. The CSS could definitly use some TLC from an expert, I just slapped it in there...

Wed, Apr 17, 1:47 PM · Patch-For-Review, MediaWiki-REST-API, MW-Interfaces-Team, Documentation, API Platform (RESTbase Deprecation Roadmap), Code-Health
daniel added a comment to T359364: Migrate MediaWiki.rest_api to statslib.

This task covers client-side code for a variety of APIs owned by different teams. Perhaps it would make sense to split it into separate tasks, each covering the client side code for functionality owned by a given team.

Wed, Apr 17, 1:31 PM · MW-Interfaces-Team, Observability-Metrics
daniel added a comment to T359383: Migrate MediaWiki.api to statslib.

This task covers client-side code for a variety of APIs owned by different teams. Perhaps it would make sense to split it into separate tasks, each covering the client side code for functionality owned by a given team.

Wed, Apr 17, 1:31 PM · MW-Interfaces-Team, Observability-Metrics

Tue, Apr 16

daniel updated the task description for T273284: Make RevisionRecord::getPageId() take a wiki ID.
Tue, Apr 16, 7:34 PM · MW-1.36-notes (1.36.0-wmf.36; 2021-03-23), MediaWiki-Core-Revision-backend, Platform Team Workboards (MW Expedition)
daniel closed T361840: Create a generic redirect handler for the REST API as Resolved.
Tue, Apr 16, 3:22 PM · MW-1.43-notes (1.43.0-wmf.2; 2024-04-23), MediaWiki-REST-API, Patch-For-Review, MW-Interfaces-Team
daniel moved T361840: Create a generic redirect handler for the REST API from Backlog (Triaged and Ready) to Done on the MW-Interfaces-Team board.
Tue, Apr 16, 3:22 PM · MW-1.43-notes (1.43.0-wmf.2; 2024-04-23), MediaWiki-REST-API, Patch-For-Review, MW-Interfaces-Team
daniel updated the task description for T362636: Remove all methods that were hard-deprecated in the 1.41 release.
Tue, Apr 16, 11:23 AM · MediaWiki-Engineering, Code-Health, good first task
daniel renamed T362636: Remove all methods that were hard-deprecated in the 1.41 release from Remove hard-deprecated methods that have been deprecated since 1.39 or longer to Remove all methods that were hard-deprecated in the 1.41 release.
Tue, Apr 16, 11:21 AM · MediaWiki-Engineering, Code-Health, good first task
daniel created T362636: Remove all methods that were hard-deprecated in the 1.41 release.
Tue, Apr 16, 11:17 AM · MediaWiki-Engineering, Code-Health, good first task

Mon, Apr 15

daniel updated the task description for T362576: ReadingLists: Improve mocha test coverage.
Mon, Apr 15, 8:04 PM · MW-Interfaces-Team, Reading List Service, MediaWiki-extensions-ReadingList, RESTBase Sunsetting
daniel created T362576: ReadingLists: Improve mocha test coverage.
Mon, Apr 15, 7:48 PM · MW-Interfaces-Team, Reading List Service, MediaWiki-extensions-ReadingList, RESTBase Sunsetting
daniel updated the task description for T316841: Replace "db" field usages with new getDb() in MediaWikiIntegrationTestCase.
Mon, Apr 15, 5:12 PM · good first task, MW-Interfaces-Team, MediaWiki-Core-Tests
daniel updated the task description for T87402: SpamBlacklist needs unit tests.
Mon, Apr 15, 5:08 PM · good first task, Technical-Debt, SpamBlacklist
daniel awarded T187749: Make it possible to use code from an external repository for editor-controlled Javascript/CSS a Love token.
Mon, Apr 15, 4:49 PM · Patch-Needs-Improvement, Security, Security-Team, Wikimedia-Hackathon-2019, Wikimedia-Hackathon-2018, MediaWiki-extension-requests, User-Tgr, JavaScript, MediaWiki-extensions-Gadgets
daniel added a comment to T219397: Add support for "months" to Language::formatDuration.

I think we can simply assume that a month is 30 days long. That way we end up with 12.2 months in a year, but that still rounds to 12.

Mon, Apr 15, 4:46 PM · Growth-Team-Filtering, Wikimania-Hackathon-2019, Growth-Team, Wikimedia-Hackathon-2019, MediaWiki-Internationalization
daniel added a comment to T19748: Allow specifying what namespaces to generate sitemaps for, from the php command line.

Should be simple enough these days, by overwriting finalSetup() in the maintenance class. One can then use $this->getOption to ge the value of a command line option, and $settingsBuilder->getConfig() to get the configuration, and $settingsBuilder->overrideConfigValue() to set the new value.

Mon, Apr 15, 4:32 PM · good first task, MediaWiki-Maintenance-system
daniel added a comment to T175146: JobQueue: Unify JobRunner entry points.

What I am trying to figure out right now is how we can send API requests to the correct domain. rpc/runSingleJob.php looks at the "databas" field of the payload and then uses MWMultiVersion::getMediaWiki to initialize the correct wiki. If we use the RESt API, we have to use the Host header instead. Or we send some other header, like X-Wiki-Name, that gets interpreted by MWMultiVersion::getMediaWiki.

Mon, Apr 15, 10:05 AM · Patch-For-Review, Security, MW-Interfaces-Team, Platform Team Workboards (Initiatives), WMF-JobQueue, TechCom-RFC (TechCom-RFC-Closed), MediaWiki-Core-JobQueue, MediaWiki-Configuration
daniel added a comment to T175146: JobQueue: Unify JobRunner entry points.

@daniel Is the REST API safe to remove from the EventBus extension? We may want to do that first.

Mon, Apr 15, 10:00 AM · Patch-For-Review, Security, MW-Interfaces-Team, Platform Team Workboards (Initiatives), WMF-JobQueue, TechCom-RFC (TechCom-RFC-Closed), MediaWiki-Core-JobQueue, MediaWiki-Configuration
daniel added a comment to T362480: Introduces the notion of modules into the REST API framework.

There is also ResourceLoader, which refers to its resource bundles as "modules".

Mon, Apr 15, 7:29 AM · Patch-For-Review, Documentation, MW-Interfaces-Team, MediaWiki-REST-API
daniel added a comment to T362480: Introduces the notion of modules into the REST API framework.

"Modules" is a somewhat unfortunate name IMO, given that the action API calls single endpoints "modules".

Mon, Apr 15, 7:26 AM · Patch-For-Review, Documentation, MW-Interfaces-Team, MediaWiki-REST-API
daniel updated the task description for T362480: Introduces the notion of modules into the REST API framework.
Mon, Apr 15, 7:24 AM · Patch-For-Review, Documentation, MW-Interfaces-Team, MediaWiki-REST-API

Sun, Apr 14

daniel created T362480: Introduces the notion of modules into the REST API framework.
Sun, Apr 14, 10:22 AM · Patch-For-Review, Documentation, MW-Interfaces-Team, MediaWiki-REST-API

Fri, Apr 12

daniel added a comment to T175146: JobQueue: Unify JobRunner entry points.

@daniel Are you thinking about IP subnets as protection mechanism because you prefer it, or because you think it's what we use today? Of the 5 job runners in the task description, number 4 used this mechanism. However that one (runJobs.php) has not been in use for several years. I've updated the task description to clarify this.

Fri, Apr 12, 6:51 PM · Patch-For-Review, Security, MW-Interfaces-Team, Platform Team Workboards (Initiatives), WMF-JobQueue, TechCom-RFC (TechCom-RFC-Closed), MediaWiki-Core-JobQueue, MediaWiki-Configuration
daniel closed T305176: Make loading defaults from the config schema the default, a subtask of T300129: SettingsBuilder: replace DefaultSettings.php, as Resolved.
Fri, Apr 12, 11:19 AM · MW-1.40-notes (1.40.0-wmf.1; 2022-09-12), MW-1.39-notes (1.39.0-wmf.14; 2022-05-30), MW-1.38-release, MW-1.38-notes (1.38.0-wmf.25; 2022-03-07), MediaWiki-SettingsBuilder
daniel closed T305176: Make loading defaults from the config schema the default as Resolved.
Fri, Apr 12, 11:19 AM · MW-1.38-notes, MW-1.39-notes (1.39.0-wmf.7; 2022-04-11), MediaWiki-SettingsBuilder
daniel closed T294753: SettingsLoader: add support for wiki farms, a subtask of T221535: Provide a "wiki farm" abstraction in MediaWiki core, as Resolved.
Fri, Apr 12, 11:18 AM · MW-1.39-notes (1.39.0-wmf.12; 2022-05-16), MW-1.38-notes, MediaWiki-SettingsBuilder, MW-1.38-release, MediaWiki-Farmers, MediaWiki-Site-system, MediaWiki-Configuration
daniel closed T294753: SettingsLoader: add support for wiki farms as Resolved.
Fri, Apr 12, 11:18 AM · MediaWiki-SettingsBuilder

Thu, Apr 11

daniel added a comment to T356157: Unable to fetch Parsoid HTML.

Ok, seeing errors now, and filing tickets: https://logstash.wikimedia.org/goto/8cf77667ebb17ba5a1ea8190d48f27f1

Thu, Apr 11, 10:02 AM · Patch-For-Review, MW-1.42-notes (1.42.0-wmf.25; 2024-04-02), Content-Transform-Team, Essential-Work, MediaWiki-REST-API, MediaWiki-Engineering, DiscussionTools, Parsoid, VisualEditor
daniel created T362312: VE triggers internal warning: "ParserOutput does not specify a language".
Thu, Apr 11, 9:52 AM · Content-Transform-Team-WIP, Essential-Work, MW-Interfaces-Team, VisualEditor

Wed, Apr 10

daniel created P60273 Contributions to ResadingLists.
Wed, Apr 10, 4:55 PM
daniel added a comment to T356157: Unable to fetch Parsoid HTML.

Are we sure entries in this channel would be logged in production? I thought new channels have to be added here first: https://gerrit.wikimedia.org/g/operations/mediawiki-config/+/4536766ecc16f0950fccc417bf749b7d485d0708/wmf-config/InitialiseSettings.php#2076

Wed, Apr 10, 3:53 PM · Patch-For-Review, MW-1.42-notes (1.42.0-wmf.25; 2024-04-02), Content-Transform-Team, Essential-Work, MediaWiki-REST-API, MediaWiki-Engineering, DiscussionTools, Parsoid, VisualEditor
daniel added a comment to T360158: 1.42.0-wmf.26 deployment blockers.
  1. Risky Patch! 🚂🔥
Wed, Apr 10, 2:52 PM · Patch-For-Review, Release-Engineering-Team (Priority Backlog 📥), Release, Train Deployments
daniel updated the task description for T354216: Create a base class to use in all web entry points.
Wed, Apr 10, 2:17 PM · MW-Interfaces-Team, MediaWiki-Platform-Team (Radar), MediaWiki-ResourceLoader, MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Patch-For-Review, MediaWiki-General
daniel triaged T312568: Provide a way to obtain the URL of a REST endpoint on another wiki as Low priority.
Wed, Apr 10, 2:11 PM · Campaign-Tools, MW-Interfaces-Team, Patch-For-Review, MediaWiki-Site-system, MediaWiki-Configuration, API Platform, Platform Engineering, MediaWiki-REST-API

Tue, Apr 9

daniel added a comment to T362187: REST HTML endpoint returning 500 for the first 3 - 5 calls for several pages.

I replied on the other ticket, see T335512#9701882

Tue, Apr 9, 6:08 PM · Wikimedia Enterprise, Parsoid (Tracking), RESTBase Sunsetting
daniel added a comment to T335512: Transition Enterprise MediaWiki from RESTBase to core page HTML endpoints.

Cross-linking for reference: T362187: REST HTML endpoint returning 500 for the first 3 - 5 calls for several pages

Tue, Apr 9, 6:07 PM · Wikimedia Enterprise, Parsoid (Tracking), RESTBase Sunsetting
daniel added a comment to T335512: Transition Enterprise MediaWiki from RESTBase to core page HTML endpoints.

The pages you list are all from projects with relatively little edits and traffic, which makes it more likely to encounter uncached pages.

Tue, Apr 9, 5:04 PM · Wikimedia Enterprise, Parsoid (Tracking), RESTBase Sunsetting
daniel added a comment to T335512: Transition Enterprise MediaWiki from RESTBase to core page HTML endpoints.

The new endpoint has a different cache regime. It is relying on MediaWiki's internal parser cache, which only contins pages that have been updated (directly or indirectly) in the last three weeks. Accessing uncached pages can be fairly slow. Typically, large and complex pages are also updated a lot. But of course, that is not always the case.

Tue, Apr 9, 5:03 PM · Wikimedia Enterprise, Parsoid (Tracking), RESTBase Sunsetting
daniel added a comment to T335512: Transition Enterprise MediaWiki from RESTBase to core page HTML endpoints.

I am not able to reproduce these errors. When I put the URLs from the error messages into my browser, they seem to work fine (if somewhat slow).

Tue, Apr 9, 4:59 PM · Wikimedia Enterprise, Parsoid (Tracking), RESTBase Sunsetting
daniel added a comment to T334238: Create deprecation plan for public parsoid endpoints.

Quick note: the task description is somewhat outdated, update to come

Tue, Apr 9, 3:57 PM · Parsoid (Tracking), Content-Transform-Team-WIP, RESTBase Sunsetting
daniel updated the task description for T361840: Create a generic redirect handler for the REST API.
Tue, Apr 9, 3:52 PM · MW-1.43-notes (1.43.0-wmf.2; 2024-04-23), MediaWiki-REST-API, Patch-For-Review, MW-Interfaces-Team
daniel updated the task description for T361840: Create a generic redirect handler for the REST API.
Tue, Apr 9, 12:59 PM · MW-1.43-notes (1.43.0-wmf.2; 2024-04-23), MediaWiki-REST-API, Patch-For-Review, MW-Interfaces-Team

Mon, Apr 8

daniel created T362108: Implement JSON schema validation in ArrayDef.
Mon, Apr 8, 7:46 PM · MW-Interfaces-Team, MediaWiki-REST-API
daniel added a comment to T357532: Create a system to support developers while upgrading configuration schemas.

...my main question is how would the schema converter do the conversion between schemas. I was thinking about having an upgrade/downgrade callable somewhere and call it from the converter, but I'm unsure on what that somewhere is. Do you have any thoughts on that, please?

Mon, Apr 8, 7:23 PM · Growth-Team (Sprint 12 (Growth Team)), MW-1.43-notes (1.43.0-wmf.2; 2024-04-23), Patch-For-Review, CommunityConfiguration
daniel added a comment to T312568: Provide a way to obtain the URL of a REST endpoint on another wiki.

Quick summary of my thoughts after talking to @Daimona just now:

  • It would be nice to have a narrow interface for getting endpoint URLs for other wikis. There are several use cases for this, e.g. redirecting to file pages on commons or listing interwiki links.
  • A basic (wmf centric) implementation of such a mechanism would not be very hard, perhaps a week of work between the two of us.
  • Making this work "right" gets us back to T113034: RFC: Overhaul Interwiki map, unify with Sites and WikiMap, wich we have been procrastinating on since 2015.
Mon, Apr 8, 12:01 PM · Campaign-Tools, MW-Interfaces-Team, Patch-For-Review, MediaWiki-Site-system, MediaWiki-Configuration, API Platform, Platform Engineering, MediaWiki-REST-API
daniel added a project to T312568: Provide a way to obtain the URL of a REST endpoint on another wiki: MW-Interfaces-Team.
Mon, Apr 8, 11:54 AM · Campaign-Tools, MW-Interfaces-Team, Patch-For-Review, MediaWiki-Site-system, MediaWiki-Configuration, API Platform, Platform Engineering, MediaWiki-REST-API
daniel added a comment to T357532: Create a system to support developers while upgrading configuration schemas.

Some thoughts on the topic of schema migration (without having looked at the code structure):

  • The JSON should contain a version marker in a meta-field - we could include a full schema URI in "$schema", or use something like "$config-version".
  • The provider interface gets a getSchemaConverter() method that takes a source version and target version.
  • The provider interface gets a loadSchema() method that takes an optional version parameter.
  • The schema class defined a constant that specified the version (and/or schema URI).
Mon, Apr 8, 8:44 AM · Growth-Team (Sprint 12 (Growth Team)), MW-1.43-notes (1.43.0-wmf.2; 2024-04-23), Patch-For-Review, CommunityConfiguration

Sat, Apr 6

daniel added a parent task for T323786: REST framework: Add support for outputting an OpenAPI (swagger) spec : T362006: Provide a Swagger-UI for exploring the core REST API.
Sat, Apr 6, 3:57 PM · MW-1.42-notes (1.42.0-wmf.9; 2023-12-12), API Platform, MediaWiki-REST-API, RESTBase Sunsetting, Platform Team Workboards (MW Expedition), Epic, Foundational Technology Requests, Code-Health
daniel added a subtask for T362006: Provide a Swagger-UI for exploring the core REST API: T323786: REST framework: Add support for outputting an OpenAPI (swagger) spec .
Sat, Apr 6, 3:57 PM · Patch-For-Review, MediaWiki-REST-API, MW-Interfaces-Team, Documentation, API Platform (RESTbase Deprecation Roadmap), Code-Health
daniel created T362006: Provide a Swagger-UI for exploring the core REST API.
Sat, Apr 6, 3:57 PM · Patch-For-Review, MediaWiki-REST-API, MW-Interfaces-Team, Documentation, API Platform (RESTbase Deprecation Roadmap), Code-Health
daniel updated the task description for T361995: Remove usage of JsonBodyValidator from extensions.
Sat, Apr 6, 10:00 AM · MW-1.43-notes (1.43.0-wmf.2; 2024-04-23), Patch-For-Review, MW-Interfaces-Team, MediaWiki-REST-API
daniel updated the task description for T361995: Remove usage of JsonBodyValidator from extensions.
Sat, Apr 6, 9:59 AM · MW-1.43-notes (1.43.0-wmf.2; 2024-04-23), Patch-For-Review, MW-Interfaces-Team, MediaWiki-REST-API
daniel created T361995: Remove usage of JsonBodyValidator from extensions.
Sat, Apr 6, 9:52 AM · MW-1.43-notes (1.43.0-wmf.2; 2024-04-23), Patch-For-Review, MW-Interfaces-Team, MediaWiki-REST-API

Fri, Apr 5

daniel added a project to T175146: JobQueue: Unify JobRunner entry points: Security.

Quick brainstorming:

Fri, Apr 5, 11:28 AM · Patch-For-Review, Security, MW-Interfaces-Team, Platform Team Workboards (Initiatives), WMF-JobQueue, TechCom-RFC (TechCom-RFC-Closed), MediaWiki-Core-JobQueue, MediaWiki-Configuration
daniel placed T175146: JobQueue: Unify JobRunner entry points up for grabs.
Fri, Apr 5, 11:27 AM · Patch-For-Review, Security, MW-Interfaces-Team, Platform Team Workboards (Initiatives), WMF-JobQueue, TechCom-RFC (TechCom-RFC-Closed), MediaWiki-Core-JobQueue, MediaWiki-Configuration

Thu, Apr 4

daniel renamed T361840: Create a generic redirect handler for the REST API from Greate a generic redirect handler for the REST API to Create a generic redirect handler for the REST API.
Thu, Apr 4, 8:02 PM · MW-1.43-notes (1.43.0-wmf.2; 2024-04-23), MediaWiki-REST-API, Patch-For-Review, MW-Interfaces-Team
daniel added a comment to T361840: Create a generic redirect handler for the REST API.

This might be obvious but just noting it here so it's part of these notes "Path parameters are preserved when generating redirects." includes both param value and order i.e

Thu, Apr 4, 4:24 PM · MW-1.43-notes (1.43.0-wmf.2; 2024-04-23), MediaWiki-REST-API, Patch-For-Review, MW-Interfaces-Team
daniel closed T360434: REST: request body validation should fail if unexpected fields are present, a subtask of T305973: JsonBodyValidator does not validate the parameter types, as Resolved.
Thu, Apr 4, 3:24 PM · MW-Interfaces-Team, MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), API Platform, MediaWiki-REST-API
daniel closed T360434: REST: request body validation should fail if unexpected fields are present as Resolved.
Thu, Apr 4, 3:24 PM · MW-1.42-notes (1.42.0-wmf.25; 2024-04-02), MW-Interfaces-Team, API Platform, MediaWiki-REST-API
daniel moved T305973: JsonBodyValidator does not validate the parameter types from In Progress to In Code Review on the MW-Interfaces-Team board.
Thu, Apr 4, 3:24 PM · MW-Interfaces-Team, MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), API Platform, MediaWiki-REST-API
daniel closed T350852: Exception: Invalid ETag returned by handler: Expected """ at 69 as Resolved.

Nothing in the log since Feb 15.

Thu, Apr 4, 3:24 PM · MW-1.42-notes (1.42.0-wmf.21; 2024-03-05), MW-Interfaces-Team, MediaWiki-REST-API, API Platform, Wikimedia-production-error
daniel moved T360434: REST: request body validation should fail if unexpected fields are present from In Code Review to Done on the MW-Interfaces-Team board.
Thu, Apr 4, 3:24 PM · MW-1.42-notes (1.42.0-wmf.25; 2024-04-02), MW-Interfaces-Team, API Platform, MediaWiki-REST-API
daniel moved T360434: REST: request body validation should fail if unexpected fields are present from In Progress to In Code Review on the MW-Interfaces-Team board.
Thu, Apr 4, 3:24 PM · MW-1.42-notes (1.42.0-wmf.25; 2024-04-02), MW-Interfaces-Team, API Platform, MediaWiki-REST-API
daniel added a comment to T175146: JobQueue: Unify JobRunner entry points.

This needs discussion with someone from service ops about how to safely expose RunSingleJob as a REST endpoint, so it does not become publically accessible.

Thu, Apr 4, 3:18 PM · Patch-For-Review, Security, MW-Interfaces-Team, Platform Team Workboards (Initiatives), WMF-JobQueue, TechCom-RFC (TechCom-RFC-Closed), MediaWiki-Core-JobQueue, MediaWiki-Configuration
daniel closed T236680: Enable API integration tests in CI for MediaWiki core as Resolved.

Nobody has been asking for more documentations, so I think this is done.

Thu, Apr 4, 3:13 PM · MW-Interfaces-Team, Release-Engineering-Team (Radar), MW-1.35-notes (1.35.0-wmf.19; 2020-02-11), Platform Team Initiatives (API Integration Tests), Code-Health, Continuous-Integration-Config
daniel closed T236680: Enable API integration tests in CI for MediaWiki core, a subtask of T231893: Run tests automatically when tests changed, as Resolved.
Thu, Apr 4, 3:12 PM · MediaWiki-Core-Tests, Story, Platform Team Workboards (User Stories), Platform Team Initiatives (API Integration Tests), Code-Health
daniel added a project to T316841: Replace "db" field usages with new getDb() in MediaWikiIntegrationTestCase: good first task.
Thu, Apr 4, 3:10 PM · good first task, MW-Interfaces-Team, MediaWiki-Core-Tests
daniel triaged T316841: Replace "db" field usages with new getDb() in MediaWikiIntegrationTestCase as Medium priority.
Thu, Apr 4, 3:10 PM · good first task, MW-Interfaces-Team, MediaWiki-Core-Tests
daniel moved T316841: Replace "db" field usages with new getDb() in MediaWikiIntegrationTestCase from Incoming (Needs Triage) to Backlog (Triaged and Ready) on the MW-Interfaces-Team board.
Thu, Apr 4, 3:10 PM · good first task, MW-Interfaces-Team, MediaWiki-Core-Tests
daniel moved T361419: DatabaseTest::testCriticalSectionErrorSelect fails locally, yet passes with php-xdebug enabled from Incoming (Needs Triage) to Radar on the MW-Interfaces-Team board.
Thu, Apr 4, 3:08 PM · MediaWiki-libs-RequestTimeout, MW-Interfaces-Team, MediaWiki-libs-Rdbms
daniel updated subscribers of T361419: DatabaseTest::testCriticalSectionErrorSelect fails locally, yet passes with php-xdebug enabled.

Pinging @tstarling , because Eximer

Thu, Apr 4, 3:08 PM · MediaWiki-libs-RequestTimeout, MW-Interfaces-Team, MediaWiki-libs-Rdbms
daniel triaged T361840: Create a generic redirect handler for the REST API as Medium priority.
Thu, Apr 4, 3:06 PM · MW-1.43-notes (1.43.0-wmf.2; 2024-04-23), MediaWiki-REST-API, Patch-For-Review, MW-Interfaces-Team
daniel moved T361840: Create a generic redirect handler for the REST API from Incoming (Needs Triage) to Backlog (Triaged and Ready) on the MW-Interfaces-Team board.
Thu, Apr 4, 3:05 PM · MW-1.43-notes (1.43.0-wmf.2; 2024-04-23), MediaWiki-REST-API, Patch-For-Review, MW-Interfaces-Team
daniel created T361840: Create a generic redirect handler for the REST API.
Thu, Apr 4, 1:50 PM · MW-1.43-notes (1.43.0-wmf.2; 2024-04-23), MediaWiki-REST-API, Patch-For-Review, MW-Interfaces-Team
daniel added a comment to T359652: Reconsider REST router path parameter handling.

On the subject of trailing slashes:

Thu, Apr 4, 10:00 AM · MW-1.42-notes (1.42.0-wmf.26; 2024-04-09), Patch-For-Review, MediaWiki-REST-API, MW-Interfaces-Team