Page MenuHomePhabricator

Add trigger for purging the UtteranceStore upon lexicon edit
Closed, ResolvedPublic

Description

When the lexicon is updated and a referring page is specified succesfully saving the lexicon edit should trigger a page of all stored utterances connected to that page.

Event Timeline

Sebastian_Berlin-WMSE renamed this task from Add trigger for purging the UtteranceStorage upon lexicon edit to Add trigger for purging the UtteranceStore upon lexicon edit.Feb 25 2021, 12:29 PM

Initially, this should be done on SpecialEditLexicon::onSuccess() using UtteranceStorage::flushUtterancesByPage().

Change 676085 had a related patch set uploaded (by Karl Wettin (WMSE); author: Karl Wettin (WMSE)):

[mediawiki/extensions/Wikispeech@master] Purge origin page utterances on lexicon edit

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

Change 676085 merged by jenkins-bot:

[mediawiki/extensions/Wikispeech@master] Purge origin page utterances on lexicon edit

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

Lokal_Profil removed the point value for this task.Apr 8 2021, 8:29 AM