Manual:Hooks/ArticleRevisionViewCustom

Details
Allows to output the text of the article revision in a different format than wikitext. Note that it is preferable to implement proper handing for a custom data type using the ContentHandler facility.


 * : revision of the page, as a  object (or  if the revision could not be loaded). This may also be a fake revision that wraps content supplied by an extension.
 * : the page, as a  object
 * : the requested revision ID, or  for the current revision
 * : An instance of

This hook replaces the ArticleAfterFetchContentObject hook.