From Mariopedia, a wiki on Mario, Yoshi, Wario, Donkey Kong, Super Smash Bros., and more!
Jump to navigationJump to search
482 bytes removed
, July 13, 2021
|
|
Line 1: |
Line 1: |
| /* CSS placed here will be applied to all skins */ | | /* CSS placed here will be applied to all skins */ |
|
| |
|
| $wgUseCombinedLoginLink true
| | UseCombinedLoginLink true |
|
| |
|
|
| |
|
Line 20: |
Line 20: |
| font-family: 'Verdana', sans-serif; | | font-family: 'Verdana', sans-serif; |
| } | | } |
|
| |
| protected function useCombinedLoginLink() {
| |
| $services = MediaWikiServices::getInstance();
| |
| $authManager = $services->getAuthManager();
| |
| $useCombinedLoginLink = $this->getConfig()->get( 'UseCombinedLoginLink' );
| |
| if ( !$authManager->canCreateAccounts() || !$authManager->canAuthenticateNow() ) {
| |
| // don't show combined login/signup link if one of those is actually not available
| |
| $useCombinedLoginLink = true;
| |
| }
| |