Page MenuHomePhabricator

REST: Audience Designations - clean up module enabling - enable site.v1 and specs.v0 in core by default
Closed, ResolvedPublic3 Estimated Story Points

Description

As part of Audience Designations, we are changing how REST module enabling works, and migrating existing modules to the new system. See the parent and grandparent tasks for more context and details.

As part of this, we are moving to a system where REST modules are enabled default, with config changes necessary only for special cases. The site.v1 and specs.v0 REST modules are currently enabled on all production wikis in config. Switch to enabling in core code, then remove the config entries.

This change means that site.v1 and specs.v0 will be enabled by default on all third-party wikis.

  • add site.v1 and specs.v0 to the hard-coded CORE_ROUTE_FILES list in ModuleManager
  • remove mention of site.v1 and specs.v0 from the RestAPIAdditionalRouteFiles config variable
  • in coordination with product management, make appropriate announcements so the community is aware of this change

Event Timeline

BPirkle set the point value for this task to 3.Apr 16 2026, 3:31 PM
HCoplin-WMF triaged this task as Medium priority.Jun 2 2026, 1:19 PM

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

[mediawiki/core@master] REST: enable and publish modules by default, remove experiments

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

Change #1302312 merged by jenkins-bot:

[mediawiki/core@master] REST: enable and publish modules by default, remove experiments

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

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

[operations/mediawiki-config@master] REST: remove obsolete and unnecessary config entries

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

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

[operations/mediawiki-config@master] REST: adjust analytics and wikifunctions REST Sandbox visibility

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

Change #1304175 merged by jenkins-bot:

[operations/mediawiki-config@master] REST: adjust analytics and wikifunctions REST Sandbox visibility

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

Mentioned in SAL (#wikimedia-operations) [2026-06-22T20:27:18Z] <bpirkle@deploy1003> Started scap sync-world: Backport for [[gerrit:1304175|REST: adjust analytics and wikifunctions REST Sandbox visibility (T422770 T423058 T422771)]]

Mentioned in SAL (#wikimedia-operations) [2026-06-22T20:29:18Z] <bpirkle@deploy1003> bpirkle: Backport for [[gerrit:1304175|REST: adjust analytics and wikifunctions REST Sandbox visibility (T422770 T423058 T422771)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-06-22T20:34:48Z] <bpirkle@deploy1003> Finished scap sync-world: Backport for [[gerrit:1304175|REST: adjust analytics and wikifunctions REST Sandbox visibility (T422770 T423058 T422771)]] (duration: 07m 30s)

Change #1304173 merged by jenkins-bot:

[operations/mediawiki-config@master] REST: remove obsolete and unnecessary config entries

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

Mentioned in SAL (#wikimedia-operations) [2026-06-30T13:42:42Z] <bpirkle@deploy1003> Started scap sync-world: Backport for [[gerrit:1304173|REST: remove obsolete and unnecessary config entries (T422770 T423058 T422771)]]

Mentioned in SAL (#wikimedia-operations) [2026-06-30T13:44:57Z] <bpirkle@deploy1003> bpirkle: Backport for [[gerrit:1304173|REST: remove obsolete and unnecessary config entries (T422770 T423058 T422771)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-06-30T13:53:04Z] <bpirkle@deploy1003> Finished scap sync-world: Backport for [[gerrit:1304173|REST: remove obsolete and unnecessary config entries (T422770 T423058 T422771)]] (duration: 10m 21s)

In coordination with Product management, decided that a Release Notes entry is sufficient communications. I'll post a patch.

aaron changed the task status from Open to In Progress.Tue, Jun 30, 3:41 PM

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

[mediawiki/core@master] REST: add release notes entry for site and spec module enabling

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

Change #1307233 merged by jenkins-bot:

[mediawiki/core@master] REST: add release notes entry for site and spec module enabling

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