apiHookResult can be set to an array to be returned * by api.php action=edit. This is used to deliver captchas. * * @since 1.35 * * @param IContextSource $context * @param Content $content Content of the edit box * @param Status $status Status object to represent errors, etc. * @param string $summary Edit summary for page * @param User $user User whois performing the edit * @param bool $minoredit Whether the edit was marked as minor by the user. * @return bool|void False or no return value with not $status->isOK() to abort the edit * and show the edit form, true to continue. But because multiple triggers of this hook * may have different behavior in different version (T273354), you'd better return false * and set $status->value to EditPage::AS_HOOK_ERROR_EXPECTED or any other customized value. */ public function onEditFilterMergedContent( IContextSource $context, Content $content, Status $status, $summary, User $user, $minoredit ); }