Page MenuHomePhabricator

Introduce ParserCacheSave hook
Closed, ResolvedPublic1 Estimated Story Points


ParserCacheSave should fire whenever a ParserOutput object is saved into the parser cache. This allows extensions to track which parser cache entries need purging, based on meta-info in the ParserOutput.

Use case: Wikibase wants to track which entities are used how in each rendering of a page. In particular, usages need to be tracked separately for each user language, if the parser cache is split by user language.

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

Picking this up for the current sprint again, since it's small, blocks progress, and likely will take a while to get merged.

Change 212278 had a related patch set uploaded (by Daniel Kinzler):
Introduce ParserCacheSaveComplete hook.

Change 212278 merged by jenkins-bot:
Introduce ParserCacheSaveComplete hook.