3 namespace MediaWiki\Auth;
6 * Authentication request for the reason given for account creation.
7 * Used in logs and for notification.
9 class CreationReasonAuthenticationRequest extends AuthenticationRequest {
10 /** @var string Account creation reason (only used when creating for someone else) */
13 public $required = self::OPTIONAL;
15 public function getFieldInfo() {
19 'label' => wfMessage( 'createacct-reason' ),
20 'help' => wfMessage( 'createacct-reason-help' ),