Manual:Hooks/SpecialPageBeforeFormDisplay

Details

 * string $name: name of the special page (without the 'Special:' namespace prefix)
 * \HTMLForm &$form: HTMLForm object