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