Manual:Hooks/APIEditBeforeSave

Details

 * $EditPage: the EditPage object
 * $text: the new text of the article (has yet to be saved)
 * $resultArr: data in this array will be added to the API result