On 07/23/2015 10:07 AM, Brion Vibber wrote:
Ok, it looks functional but there's no back-compatibility for old ParserCache renderings of pages containing media items.
I haven't looked at the patch yet, but during the GeSHi -> Pygments migration, we introduced the 'RejectParserCacheValue'[1] hook to core, which allows extensions to mark a parsercache entry as invalid based on its contents. Maybe that would be useful here?
[1] https://gerrit.wikimedia.org/r/#/c/220072/
-- Legoktm