Difference between revisions of "MediaWiki:Vector.js"

From ISLAB/CAISR
(Created page with "Any JavaScript here will be loaded for users using the Vector skin: jQuery(function($){ if ( mw.user.isAnon() ) { $('#ca-viewsource').hide(); //id or class varies wi...")
 
(Replaced content with "Any JavaScript here will be loaded for users using the Vector skin: ")
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
 
/* Any JavaScript here will be loaded for users using the Vector skin */
 
/* Any JavaScript here will be loaded for users using the Vector skin */
 
jQuery(function($){ if ( mw.user.isAnon() ) {
 
    $('#ca-viewsource').hide(); //id or class varies with skin
 
    document.write("<h1>ANON</h1>");
 
} } );
 

Latest revision as of 16:23, 12 March 2014

/* Any JavaScript here will be loaded for users using the Vector skin */