Manual:$wgParserCacheUseJson/ru

Category:MediaWiki configuration settings/ru#ParserCacheUseJsonCategory:MediaWiki configuration settings introduced in version 1.36.0/ru#ParserCacheUseJsonCategory:MediaWiki configuration settings deprecated in version 1.36.0/ru#ParserCacheUseJsonCategory:MediaWiki configuration settings removed in version 1.39.0/ru#ParserCacheUseJsonCategory:MediaWiki deprecated or obsolete features/ru#ParserCacheUseJsonCategory:ContentHandler variables/ru#ParserCacheUseJson
Content handlers and storage: $wgParserCacheUseJson
Enable JSON serialization for ParserCache.
Введено в версии:1.36.0 (Gerrit change 633513; git #0c059b73)
Устарела с версии:1.36.0 (Gerrit change 644316; git #d45b16ee)
Удалено в версии:1.39.0 (Gerrit change 790397; git #697f28df)
Допустимые значения:не определено
Значение по умолчанию:true

Details

Enable JSON serialization for ParserCache.

In 1.36 the default serialization format for ParserCache has been changed from PHP serialization to JSON serialization. The cache is still compatible with old PHP-serialized entries, so for the most part the change should be unnoticed. However in case some extensions are installed which write non-JSON-serializable data to ParserOutput::setExtensionData, the cache will break for some pages. Setting this to false makes ParserCache use PHP serialization format for writing new cache entries, and all the cache entries already written in JSON are discarded.

Category:ContentHandler variables/ru Category:MediaWiki configuration settings/ru Category:MediaWiki configuration settings deprecated in version 1.36.0/ru Category:MediaWiki configuration settings introduced in version 1.36.0/ru Category:MediaWiki configuration settings removed in version 1.39.0/ru Category:MediaWiki deprecated or obsolete features/ru