Manual:Hooks/ArticleProtect

Details

 * $article: (object) the article being protected
 * $user: (object) the user doing the protection
 * $protect: boolean flag indicating whether the request is protect or unprotect
 * $reason: (string) Reason for protect
 * $moveonly: (boolean) flag indicating whether this is for move only or not