/** * Some HTML&JS code for JavaScript test * @param HTMLForm $form * @return bool */ public static function onUserCreateForm(&$template) { global $wgCTSubmitTimeLabel; $template->set('header', CTBody::AddJSCode()); $_SESSION[$wgCTSubmitTimeLabel] = time(); return true; }