Skip to content

msw: continue handler migration - #1186

Open
deer-wmde wants to merge 21 commits into
mainfrom
de/msw-continue
Open

msw: continue handler migration#1186
deer-wmde wants to merge 21 commits into
mainfrom
de/msw-continue

Conversation

@deer-wmde

@deer-wmde deer-wmde commented Sep 1, 2026

Copy link
Copy Markdown
Contributor
  • sets onUnhandledRequest: 'error' so that not-implemented handlers error instead of bypass msw (docs)
  • migrates remaining existing handlers + some policy ones needed for interaction
    • POST /api/wiki/entityImport
    • GET /api/wiki/entityImport
    • POST /api/wiki/create
    • POST /api/wiki/delete
    • POST /api/wiki/logo/update
    • POST /\/api\/wiki\/setting\/.*?\/update$/
    • POST /api/wiki/details
    • GET /api/wiki
    • GET /api/v1/policies/missing
    • GET /api/v1/policies/current
  • fixes removeWiki: splice() mutates, not copies (docs)
  • fixes user login handle, not always test@local anymore
    • do we actually want this or are we now relying on it? :D

Almost ready for review but needs a merge & rebase of #1184

https://phabricator.wikimedia.org/T436530

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

Deployment previews on netlify for branch refs/pull/1186/merge will be at the following locations (when build is done):

@deer-wmde
deer-wmde marked this pull request as ready for review September 3, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant