Instances of PHP classes are not serializable into JSON, so we should not write them into ParserOutput->mExtensionData
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | • Pchelolo | T250500 ParserCache / RESTBase / Parsoid integration | |||
Resolved | daniel | T269034 1.37 Remove support for PHP serialization from ParserCache | |||
Resolved | • Pchelolo | T263579 Change ParserCache serialization format to JSON | |||
Resolved | • Pchelolo | T264394 Ensure content of ParserOutput is safe to serialize | |||
Resolved | • Pchelolo | T266248 GeoData extension should not write objects into ExtensionData |
Event Timeline
Change 635860 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/extensions/GeoData@master] Make extension data JSON-serializable #1 - forward-compat.
Change 635863 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/extensions/Wikibase@master] GeoData: Explicitly set coordinates to ParserOutput
Change 635874 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/extensions/GeoData@master] Make extension data JSON-serializable #2 - write JSON.
Change 635860 merged by jenkins-bot:
[mediawiki/extensions/GeoData@master] Make extension data JSON-serializable #1 - forward-compat.
Change 635863 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] GeoData: Explicitly set coordinates to ParserOutput
Change 635874 merged by jenkins-bot:
[mediawiki/extensions/GeoData@master] Make extension data JSON-serializable #2 - write JSON.