MediaWiki:Common.css: Difference between revisions

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 */


UseCombinedLoginLink true
$UseCombinedLoginLink true




Line 19: Line 19:
body {
body {
     font-family: 'Verdana', sans-serif;
     font-family: 'Verdana', sans-serif;
}
{
        $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 = false;
        }