During the work on the citation counts for the Attribution API (T418499: Attribution API MVP: Provide initial-pass base reference count), we found that the method we're using (through Parsoid parser cache HTML) will not be available in wikis that have Flagged Revs enabled.
This ticket is meant to verify the problem and see whether we have options:
- Validate what we actually get in Flagged Revs wikis(dewiki/ruwiki) and whether we get anything useful out of the box
- Check if there is a way to get a performant cached HTML of the *visible version* as a fallback from these wikis
- There are many wikis with FlaggedRevs installed, but not all of them have this problem; if we do need to create some fallback operation, see if there is a way to identify the relevant instance (through config, perhaps?)
If any of the above is found to be problematic, we will need to re-assess how to approach the citation count on those wikis and whether we can serve them directly.