wiki.techinc.nl/tests/phpunit/data/ParserCache/1.43_wmf.3-ParserOutput-withSections.json
C. Scott Ananian 47bdd8b1c8 [ParserOutput] Remove unused TOCHTML from ParserCache serialization
This reverts commit b4cf4aa6bd,
which is no longer needed for ParserCache compatibility across
trains.  REL1_42 contains b4cf4aa6bd,
so MW 1.43 will not need this.

This also adds new serialization test cases for 1.43 with this field
removed; see
https://www.mediawiki.org/wiki/Manual:Parser_cache/Serialization_compatibility

Change-Id: I716e2efe7a491002e6e6b2300016165fffe3c0d6
2024-05-17 21:46:00 +00:00

1 line
No EOL
1.3 KiB
JSON

{"Text":"","LanguageLinks":[],"Categories":[],"Indicators":[],"TitleText":"","Links":[],"LinksSpecial":[],"Templates":[],"TemplateIds":[],"Images":[],"FileSearchOptions":[],"ExternalLinks":[],"InterwikiLinks":[],"NewSection":false,"HideNewSection":false,"NoGallery":false,"HeadItems":[],"Modules":[],"ModuleStyles":[],"JsConfigVars":[],"Warnings":[],"Sections":[{"toclevel":0,"level":"1","line":"heading_1","number":"1.0","index":"T-1","fromtitle":false,"byteoffset":null,"anchor":"heading_1","linkAnchor":"#heading_1"},{"toclevel":1,"level":"2","line":"heading_2","number":"2.0","index":"T-2","fromtitle":false,"byteoffset":null,"anchor":"heading_2","linkAnchor":"#heading_2"}],"Properties":[],"Timestamp":null,"EnableOOUI":false,"IndexPolicy":"","ExtensionData":[],"LimitReportData":[],"LimitReportJSData":[],"CacheMessage":"","TimeProfile":[],"ParseStartTime":[],"PreventClickjacking":false,"ExtraScriptSrcs":[],"ExtraDefaultSrcs":[],"ExtraStyleSrcs":[],"Flags":{"mw:toc-set":true},"SpeculativeRevId":null,"SpeculativePageIdUsed":null,"RevisionTimestampUsed":null,"RevisionUsedSha1Base36":null,"WrapperDivClasses":[],"ParseUsedOptions":[],"CacheExpiry":null,"CacheTime":"","CacheRevisionId":null,"TOCExtensionData":[],"_type_":"MediaWiki\\Parser\\ParserOutput","_complex_":true}