Manual:$wgParserCacheUseJson

From mediawiki.org
This page is a translated version of the page Manual:$wgParserCacheUseJson and the translation is 50% complete.
コンテンツ ハンドラーと記憶域: $wgParserCacheUseJson
ParserCache の JSON シリアライズを有効にする。
導入されたバージョン: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

詳細

ParserCache の JSON シリアライズを有効にします。

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.