wiki.techinc.nl/tests/phpunit/data/SelserContext/1.44-SelserContext-basic.serialized
C. Scott Ananian 7b307d726d SimpleParsoidOutputStash: add serialization test cases
The '1.44' test data is the current serialization output.

The '1.44_native' test data is the output after
I9e6b924d62ccc3312f5c70989477da1e2f21c86b which uses native PageBundle
serialization.  This is to establish forward-compatibility using the
procedure described at
https://www.mediawiki.org/wiki/Manual:Parser_cache/Serialization_compatibility

Change-Id: I8d53ff3e9c600cce16a0fc07f3665a91e5d8036b
(cherry picked from commit 9f6ee7ef03b2c3657aff60e81c4a0c17599cdc46)
2025-09-09 14:26:59 +00:00

1 line
No EOL
509 B
Text

a:3:{s:5:"revId";i:5678;s:2:"pb";a:7:{s:6:"_type_";s:33:"Wikimedia\Parsoid\Core\PageBundle";s:4:"html";s:11:"<b>html</b>";s:7:"parsoid";a:3:{s:7:"counter";i:1234;s:10:"offsetType";s:4:"byte";s:3:"ids";a:1:{s:4:"mwAA";a:1:{s:7:"parsoid";b:1;}}}s:2:"mw";a:1:{s:3:"ids";a:1:{s:4:"mwAA";a:1:{s:2:"mw";b:1;}}}s:7:"version";s:7:"1.2.3.4";s:7:"headers";a:1:{s:13:"X-Header-Test";s:11:"header test";}s:12:"contentmodel";s:8:"wikitext";}s:7:"content";a:2:{s:5:"model";s:8:"wikitext";s:4:"data";s:14:"wiki wiki wiki";}}