MediaWiki REL1_34
UsernameAuthenticationRequest.php
Go to the documentation of this file.
1<?php
22namespace MediaWiki\Auth;
23
30 public function getFieldInfo() {
31 return [
32 'username' => [
33 'type' => 'string',
34 'label' => wfMessage( 'userlogin-yourname' ),
35 'help' => wfMessage( 'authmanager-username-help' ),
36 ],
37 ];
38 }
39}
wfMessage( $key,... $params)
This is the function for getting translated interface messages.
This is a value object for authentication requests.
AuthenticationRequest to ensure something with a username is present.