Instead of ParserOutput::$mIndexPolicy, a future MW version (I683e5ae054a0425b03c60a4af8c845b576414c1d) will use two boolean fields ParserOutput::$mIndexSet and ::$mNoIndexSet. For parser cache migration purposes, ensure that core can deserialize the new version so that rollback are safe. Add serialization test cases with the new boolean fields as "1.39_wmf.7-ParserOutput-*"; compatibility with the existing "mIndexPolicy" serialization will continue to be tested with the "1.38-ParserOutput-*" cases. Change-Id: I5e4fc68cea18b31ecb028b3867537dcbd86b93cd
1 line
No EOL
915 B
JSON
1 line
No EOL
915 B
JSON
{"Text":"Lorem Ipsum","LanguageLinks":[],"Categories":[],"Indicators":[],"TitleText":"","Links":[],"LinksSpecial":[],"Templates":[],"TemplateIds":[],"Images":[],"FileSearchOptions":[],"ExternalLinks":[],"InterwikiLinks":[],"NewSection":false,"HideNewSection":false,"NoGallery":false,"HeadItems":[],"Modules":[],"ModuleStyles":[],"JsConfigVars":[],"OutputHooks":[],"Warnings":[],"Sections":[],"Properties":[],"TOCHTML":"","Timestamp":null,"EnableOOUI":false,"IndexPolicy":"","ExtensionData":[],"LimitReportData":[],"LimitReportJSData":[],"CacheMessage":"","ParseStartTime":[],"PreventClickjacking":false,"ExtraScriptSrcs":[],"ExtraDefaultSrcs":[],"ExtraStyleSrcs":[],"Flags":[],"SpeculativeRevId":null,"SpeculativePageIdUsed":null,"RevisionTimestampUsed":null,"RevisionUsedSha1Base36":null,"WrapperDivClasses":[],"ParseUsedOptions":[],"CacheExpiry":null,"CacheTime":"","CacheRevisionId":null,"_type_":"ParserOutput"} |