|
| __construct (TermboxFlag $flag) |
|
| keepCachedValue (ParserOutput $parserOutput, ParserOptions $parserOptions) |
| Determines whether we should reject an otherwise valid parser cache value in order to add a Termbox Version to the ParserOptions and Parser Cache key.
|
|
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Repo\ParserOutput\TermboxVersionParserCacheValueRejector::__construct |
( |
TermboxFlag | $flag | ) |
|
◆ keepCachedValue()
Wikibase\Repo\ParserOutput\TermboxVersionParserCacheValueRejector::keepCachedValue |
( |
ParserOutput | $parserOutput, |
|
|
ParserOptions | $parserOptions ) |
Determines whether we should reject an otherwise valid parser cache value in order to add a Termbox Version to the ParserOptions and Parser Cache key.
To be used in conjunction with Mediawiki's RejectParserCacheValue hook
- Parameters
-
ParserOutput | $parserOutput | The parser cache value |
ParserOptions | $parserOptions | The parser cache key |
- Returns
- bool
◆ $flag
Wikibase\Repo\ParserOutput\TermboxVersionParserCacheValueRejector::$flag |
|
private |
◆ TERMBOX_VERSION_KEY
const Wikibase\Repo\ParserOutput\TermboxVersionParserCacheValueRejector::TERMBOX_VERSION_KEY = 'termboxVersion' |
|
private |
The documentation for this class was generated from the following file: