Manual:Hooks/EditFilterMerged

Details
Return false to halt the edit page save. You will need to handle error detection, etc. by yourself.
 * $editor: EditPage instance (object)
 * $text: content of the edit box
 * $error: error message to return (broken in v1.12)