PoolWorkArticleView currently only supports caching ParserOutput for a page's current revision to ParserOutput. To resolve T244058, it needs to be refactored to also support caching of output for an old revision.
There are three implementation options to explore:
- use subclasses to implement different behavior for current and old revisions
- inject callbacks to implement different behavior for current and old revisions
- implement different behavior for current and old revisions based on flags