Page MenuHomePhabricator

Create beta module for AbstractWiki extension
Closed, InvalidPublic

Description

Description

<Halley to fill in>

Conditions of acceptance

  • Create a module definition file that covers all existing endpoints
  • Reference from extension.json
  • Update integration tests to test both paths (production & vBeta)
  • Surface in REST sandbox as module dropdown (currently via config change)

Implementation details

Reference implementation for ReadingList: https://gerrit.wikimedia.org/g/mediawiki/extensions/ReadingLists/+/3587bac5b0a678f0deb40184f3a527f1b49e1c55/src/Rest/ReadingListsRoutes.v0.json

Currently modules must be added through config change; that pattern may change based on research from: https://phabricator.wikimedia.org/T392149

Event Timeline

Minor detail: we changed our convention from "vBeta" (which never reached production) to "-beta" suffixes. See T395713: REST: Beta Modules - support beta suffix in module ids and versions. All that changes is the experimental route at which the proposed module is exposed.