Page MenuHomePhabricator

Introduce a ParserCacheFactory
Closed, ResolvedPublic

Description

In order to be able to store Parsoid output, we need to introduce a ParserCacheFactory which would allow getting various ParserCaches for various cases (one for default parser, one for Parsoid). FlaggedRevs extension should be converted to use the factory mechanism instead of custom code with it's own custom ParserCache.

Event Timeline

Change 630261 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/core@master] Create ParserCacheFactory.

https://gerrit.wikimedia.org/r/630261

Change 630278 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/extensions/FlaggedRevs@master] Use ParserCacheFactory to obtain a stable ParserCache

https://gerrit.wikimedia.org/r/630278

Change 630299 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/core@master] Clean up ParserCache construction and inject logger

https://gerrit.wikimedia.org/r/630299

Change 630261 merged by jenkins-bot:
[mediawiki/core@master] Create ParserCacheFactory.

https://gerrit.wikimedia.org/r/630261

Change 630278 merged by jenkins-bot:
[mediawiki/extensions/FlaggedRevs@master] Use ParserCacheFactory to obtain a stable ParserCache

https://gerrit.wikimedia.org/r/630278

Change 630299 merged by jenkins-bot:
[mediawiki/core@master] Clean up ParserCache construction and inject logger

https://gerrit.wikimedia.org/r/630299