aboutsummaryrefslogtreecommitdiffstats
path: root/includes/content/Transform
Commit message (Collapse)AuthorAgeFilesLines
* Move Content::preloadTransform to ContentHandlerRoman Stolar2021-08-173-0/+100
| | | | | | | | | | | | | | | | Update ContentTransformer to access ContentHandler::preLoadTransform through the service. Prepare object to hold a data that required for ContentHandler::preLoadTranform params. This is a fully backwards compatible change. We are doing hard deprecation via MWDebug::detectDeprecatedOverride. However, with the ContentHandler calling Content and Content calling ContentHandler, it doesn't matter whether callers use Content or ContentHandler. This will allow us to naturally convert all callers. Bug: T287157 Change-Id: I89537e1e7d24c6e15252b2b51890a0bd81ea3e6b
* Followup on b782a7e6: Fix incorrect function arg nameSubramanya Sastry2021-08-111-3/+3
| | | | Change-Id: I038b9556c41ef104700ccc3e7af42848824681e3
* Move Content::preSaveTransform to ContentHandlerPetr Pchelko2021-07-293-0/+127
Create ContentTransformer to access ContentHandler::preSaveTransform through the service. Prepare object to hold a data that required for ContentHandler::preSaveTranform params. This will require making a semi-backwards-incompatible change no matter what, we don't really have a great way of hard-deprecating overriding methods. However, with the ContentHandler calling Content and Content calling ContentHandler, and with the ProxyContent trick to stop infinite recursion, it doesn't matter whether callers use Content or ContentHandler. This will allow us to naturally convert all callers. But won't really allow hard-deprecation. Bug: T287156 Change-Id: If6a2025868ceca3a3b6f11baec39695e47292e40