As a user I want to see the updated data inside the article and infobox after changing it in the Wikidata Bridge.
Problem:
Currently when saving an edit the Bridge just closes and shows the article content again without reloading or similar to show me the newest content after my edit.
BBD:
GIVEN a Bridge edit
WHEN clicking the publish button
THEN
- start showing loading bar (T237433)
- API call to save the change
- On Success, another API call to purge the article with action=purge
- errors on this API call can be ignored (possibly tracked, but not shown to the user) – worst case, the page will be updated through the usual dispatch process
- end showing loading bar
- reload the page (instead of closing the dialog); later (T240333), this will be postponed by a “thank you” dialog
Notes:
- This was researched in T227758: [investigate] purging strategy
- To see updated data in my article simply by reloading the article changes need to be dispatched from the repository to the client. There is a lag there. According to https://grafana.wikimedia.org/d/000000156/wikidata-dispatch?orgId=1&refresh=1m&from=now-30d&to=now the dispatch lag is usually somewhere around a few seconds but definitely higher than we would be comfortable with to rely on it.