Last modified: 2014-07-16 10:38:01 UTC
ContentHandler should have importTransform( $text, $format ) and exportTransform( $text, $format ) methods to be called when importing/exporting pages. Per default, these functions would pass the text through unchanged. The purpose of having these functions would be to give the ContentHandler a chance to validate or transform imported content according to local settings, and to normalize (possible old legacy) content serializations on export.
Change 134387 had a related patch set uploaded by Daniel Kinzler: Introduce ContentHandler::importTransform. https://gerrit.wikimedia.org/r/134387
Change 134389 had a related patch set uploaded by Daniel Kinzler: Introduce ContentHandler::exportTransform() https://gerrit.wikimedia.org/r/134389
Change 134387 merged by jenkins-bot: Introduce ContentHandler::importTransform. https://gerrit.wikimedia.org/r/134387
Change 134389 merged by jenkins-bot: Introduce ContentHandler::exportTransform() https://gerrit.wikimedia.org/r/134389