MediaWiki:Common.css: Difference between revisions

From Marinelexicon
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 */
1. ca-talk { display:none!important; }
 
$wgHooks['SkinTemplateNavigation'][] = 'replaceTabs';
function replaceTabs( $skin, &$links) { 
        unset( $links['namespaces']['talk'] ); // Remove the talk action
        return true;
}

Revision as of 14:04, 9 February 2021

/* CSS placed here will be applied to all skins */

$wgHooks['SkinTemplateNavigation'][] = 'replaceTabs';
function replaceTabs( $skin, &$links) {  
        unset( $links['namespaces']['talk'] ); // Remove the talk action
        return true;
}