Page MenuHomePhabricator

Mock mw.Api instead of server
Closed, ResolvedPublic

Description

We do not need to mock the server communication since we use mw.Api. It is enough to mock wm.Api itself since we assume that it works as advertised.

Related Objects

Mentioned In
T279632: Implement local lexicon in new wiki namespace
T279652: Credit PTS in repo code
T280239: Use GET requests for segments and utterances
T133857: Link to Special:EditLexicon from player
T279620: i18n for wikispeech-edit-lexicon user group
T280244: Optionally mark utterance files with TTL in Swift
T277153: Allow user to decide on updating or adding new entry if entry with same spelling exists
T277242: Ensure new lexicon edits are CC0
T281262: Treat Speechoid lexicon id (Pronlex id) as int rather than string
rEWIS679f60ad3bc7: Run Wikispeech as a gadget
rEWISb7ca5bee51ed: Use GET requests for when calling API's from frontend
Mentioned Here
T133857: Link to Special:EditLexicon from player
T277153: Allow user to decide on updating or adding new entry if entry with same spelling exists
T277242: Ensure new lexicon edits are CC0
T279620: i18n for wikispeech-edit-lexicon user group
T279632: Implement local lexicon in new wiki namespace
T279652: Credit PTS in repo code
T280239: Use GET requests for segments and utterances
T280244: Optionally mark utterance files with TTL in Swift
T281262: Treat Speechoid lexicon id (Pronlex id) as int rather than string
rEWIS2c161690eee0: Localisation updates from https://translatewiki.net.
rEWIS1dea3915be37: Localisation updates from https://translatewiki.net.
rEWIS67d361834c4a: Hotfix: More detailed out of sync errors
rEWIS10e4ac532149: Hotfix: Resolve lexicon bugs
rEWIS1cbfbd8b7cc0: build: Updating eslint-config-wikimedia to 0.20.0
rEWIS29f572a918da: Minor PHP code cleanup
rEWISb7ca5bee51ed: Use GET requests for when calling API's from frontend
rEWIS043335c6b3a2: Add i18n for Wikispeech edit lexicon group
rEWISac721c87cf51: Localisation updates from https://translatewiki.net.
rEWIS8eb2f15e2a59: Only add edit button to the player if user has right to edit lexicon
rEWISd5182d67d914: Localisation updates from https://translatewiki.net.
rEWIS8eebc3d595cb: Localisation updates from https://translatewiki.net.
rEWIS36c217f15d6d: Optionally mark utterance files with TTL in Swift
rEWIS9ddab13dc3b0: Credit PTS in the readme
rEWISdc93055c36d9: Add credit for the 2019 project
rEWIS35abf5c6081e: Allow editing existing lexicon entries via Special:EditLexicon
rEWISf922c2da3638: Add copyright note to Special:EditLexicon
rEWISd91b7e82deaa: Localisation updates from https://translatewiki.net.
rEWIS898e716ba330: Introduce LexiconWikiStorage
rEWIS3cbb3b98319d: Treat Speechoid lexion identity as int

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 679821 had a related patch set uploaded (by Sebastian Berlin (WMSE); author: Sebastian Berlin (WMSE)):

[mediawiki/extensions/Wikispeech@master] Use GET requests for when calling API's from frontend

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

Change 679821 merged by jenkins-bot:

[mediawiki/extensions/Wikispeech@master] Use GET requests for when calling API's from frontend

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

Change 685428 had a related patch set uploaded (by Sebastian Berlin (WMSE); author: Sebastian Berlin (WMSE)):

[mediawiki/extensions/Wikispeech@master] Run Wikispeech as a gadget

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

Change 685428 merged by jenkins-bot:

[mediawiki/extensions/Wikispeech@master] Run Wikispeech as a gadget

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