Page MenuHomePhabricator

Allow specifying default REST module in the Special:RestSandbox
Open, LowPublic5 Estimated Story Points

Description

Right now, we're working on making REST modules as a separate clean list that users can pick from, for ease of use and context separation. At the moment, the default view in all instances is the MediaWiki Rest API (routes not in modules) view, which displays the default routes in mediawiki core.

However, as we add modules into the system, it would be helpful to be able to specify a specific module for the default view. This would enable us to show different starting state for the Sandbox in different instances; for example, Wikifunctions can display its own REST module by default in its wiki, wikidata its module in its wiki, while other wikis in productions show the default core routes.

Deliverable: Allow specifying (or overriding) the default module that is loaded per instance for Special:RestSandbox.

Event Timeline

BPirkle triaged this task as Medium priority.Apr 6 2026, 6:55 PM
BPirkle moved this task from Incoming (Needs Triage) to Backlog on the MW-Interfaces-Team board.
HCoplin-WMF lowered the priority of this task from Medium to Low.Apr 8 2026, 4:58 PM
HCoplin-WMF moved this task from Backlog to To Refine on the MW-Interfaces-Team board.
BPirkle set the point value for this task to 5.Jun 4 2026, 2:33 PM
BPirkle subscribed.

Some decisions remain about exactly how the default is specified and what it affects. For instance, does it also affect /discovery? Are there implications for the upcoming Unified Front Door (aka Frodo) project?

The estimate includes effort level for evaluating and resolving these uncertainties. If it turns out that we want a separate Spike task, we could add it later.