45 $provider = SessionManager::getGlobalSession()->getProvider();
46 '@phan-var SessionProvider $provider';
47 $this->expiration = $provider->getRememberUserDuration();
51 if ( !$this->expiration ) {
55 $expirationDays = ceil( $this->expiration / ( 3600 * 24 ) );
59 'label' =>
wfMessage(
'userlogin-remembermypassword' )->numParams( $expirationDays ),
60 'help' =>
wfMessage(
'authmanager-userlogin-remembermypassword-help' ),
wfMessage( $key,... $params)
This is the function for getting translated interface messages.