mediawiki-extensions-PageIm.../tests/phpunit
Petr Pchelko 6fa0a18037 Stop writing objects into ParserOutput::setExtensionData.
As we switch ParserCache to JSON, we can no longer serialized
class instances in extension data. PageImages was writing the
full set of properies it received from Parser into it's extension
data, some of which are sometimes class instances. Instead, only
write the nessessary subset of data into extension-data.

This change is completely forward and backward compatible.
Since before this change we were already writing the same array,
but with many additional unused properties.

Bug: T266251
Change-Id: Ieb4a139465159611e6b3a99c4b68c3c174b1944f
2020-10-26 13:35:38 -07:00
..
Hooks Stop writing objects into ParserOutput::setExtensionData. 2020-10-26 13:35:38 -07:00
unit Stop writing objects into ParserOutput::setExtensionData. 2020-10-26 13:35:38 -07:00
ApiQueryPageImagesProxyMock.php rest: Implement SearchResultProvideThumbnail hook 2020-05-06 22:52:49 +03:00
ApiQueryPageImagesTest.php Stop writing objects into ParserOutput::setExtensionData. 2020-10-26 13:35:38 -07:00
PageImagesTest.php rest: Implement SearchResultProvideThumbnail hook 2020-05-06 22:52:49 +03:00