Page MenuHomePhabricator

[Jan 2026] Remove trailing slash routes for Transform endpoints
Open, MediumPublic2 Estimated Story Points

Description

Scheduled for end of Jan 2026

Description

We currently have duplicates of every transform endpoint -- one with a trailing slash, and one without. These are treated as separate routes both within the documentation and for routing purposes. Due to limited adoption of the trailing slash version of the endpoints, we intend to remove them and consolidate onto the non-trailing slash versions as the single source of truth for transforms.

NOTE: Blocked by: T404854: Mark and announce transform endpoints with trailing slash as deprecated. The announcement of deprecation should come at least a few weeks before fully removing the trailing slash endpoints.

Conditions of acceptance

  • Remove trailing slash endpoints from code
  • Trailing slash endpoints no longer appear in the REST Sandbox
  • Announce that the deprecation is complete through the standard channels

Event Timeline

OWresch-WMF set the point value for this task to 2.

If the endpoint handler removed trailing slashes, there would be no need to obsolete the endpoints (though they could still be deprecated for clarity), and old clients would still work. There would be no need for individual documentation or routing, just as in the current proposal.

HCoplin-WMF renamed this task from Remove trailing slash routes for Transform endpoints to [Jan 2026] Remove trailing slash routes for Transform endpoints.Oct 28 2025, 1:57 PM
HCoplin-WMF updated the task description. (Show Details)

Change #1226364 had a related patch set uploaded (by BPirkle; author: BPirkle):

[mediawiki/core@master] REST: Remove deprecated "trailing slash" transform endpoints

https://gerrit.wikimedia.org/r/1226364

I checked Turnillo here and here, and the endpoints still looks fine to remove.

Change #1226364 merged by jenkins-bot:

[mediawiki/core@master] REST: Remove deprecated "trailing slash" transform endpoints

https://gerrit.wikimedia.org/r/1226364