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