Manual talk:Hooks/ArticleAfterFetchContentObject

From mediawiki.org

The removal of Hooks/ArticleAfterFetchContent in 1.22 broke extensions, e. g. HeaderFooter.

How are they fixed?

How is a Content-object converted into content-data before invocation of the old code? How is the modified content-data converted into a Content-object after the old code was executed?