Manual:Hooks/EditPageGetDiffText

Details

 * $editPage: The EditPage object
 * &$newtext: wikitext that will be used as "your version"