Localisation updates from https://translatewiki.net.
[mediawiki.git] / includes / auth / CreationReasonAuthenticationRequest.php
blob146470ed8faa026bb4bb872d2f7aa14c7f5de965
1 <?php
3 namespace MediaWiki\Auth;
5 /**
6 * Authentication request for the reason given for account creation.
7 * Used in logs and for notification.
8 */
9 class CreationReasonAuthenticationRequest extends AuthenticationRequest {
10 /** @var string Account creation reason (only used when creating for someone else) */
11 public $reason;
13 public $required = self::OPTIONAL;
15 public function getFieldInfo() {
16 return [
17 'reason' => [
18 'type' => 'string',
19 'label' => wfMessage( 'createacct-reason' ),
20 'help' => wfMessage( 'createacct-reason-help' ),