Welcome to Mariopedia! If you want to request an account, please do so at Mario Wiki or Fanonpedia.

MediaWiki:Common.css: Difference between revisions

From Mariopedia, a wiki on Mario, Yoshi, Wario, Donkey Kong, Super Smash Bros., and more!
Jump to navigationJump to search
no edit summary
No edit summary
No edit summary
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;
        }

Navigation menu