Instances of PHP classes are not serializable into JSON, so we should not write them into ParserOutput->mExtensionData.
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Stop writing objects into ParserOutput::setExtensionData. | mediawiki/extensions/PageImages | master | +249 -33 |
| 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 | T266251 PageImages extension should not write objects into ExtensionData |
Event Timeline
Comment Actions
Change 635887 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/extensions/PageImages@master] Stop writing objects into ParserOutput::setExtensionData.
Comment Actions
Change 635887 merged by jenkins-bot:
[mediawiki/extensions/PageImages@master] Stop writing objects into ParserOutput::setExtensionData.