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

prior to version 1.10, this field stored an array of restrictions that were stored in the page_restrictions field of the page table.