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: revision of the page, as a RevisionRecord object
 * $title: the page, as a Title object
 * $oldid - the oldid of the article
 * $output: reference to $wgOut