In case the request to the Termbox SSR service fails, we need to ensure that no faulty or incomplete view data is cached within ParserOutput.
Potential solution:
- allow ViewPlaceHolderEmitter to
throw an exceptionemit an error value within getPlaceholders - encourage FullEntityParserOutputGenerator not to cache in such cases
- relevant bits of code
- https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/Wikibase/+/master/repo/includes/ParserOutput/FullEntityParserOutputGenerator.php#230
- $parserOutput->updateCacheExpiry( 0 );