MediaWiki REL1_34
CreationReasonAuthenticationRequest.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Auth;
4
11 public $reason;
12
14
15 public function getFieldInfo() {
16 return [
17 'reason' => [
18 'type' => 'string',
19 'label' => wfMessage( 'createacct-reason' ),
20 'help' => wfMessage( 'createacct-reason-help' ),
21 ],
22 ];
23 }
24}
wfMessage( $key,... $params)
This is the function for getting translated interface messages.
This is a value object for authentication requests.
const OPTIONAL
Indicates that the request is not required for authentication to proceed.
Authentication request for the reason given for account creation.
string $reason
Account creation reason (only used when creating for someone else)