MediaWiki:Common.js

/* */ /* Override Variables */ var overrideNamespaces; var overrideGroups;

function includeJS( page, onWikia, expand ) { document.write(' '); } function includeJSCode( code ) { document.write(''			+ code			+ ' '); } function includeCSS( page, onWikia, expand ) { document.write('/*<![CDATA[*/@import "'			+ ( onWikia ? 'http://'+onWikia+'.wikia.com' :  )			+ '/index.php?title=' + page			+ '&action=raw&ctype=text/css'+( expand == false ?  : '&templates=expand' )			+ '";/*]]>*/ '); } function includeCSSCode( code ) { document.write('/*<![CDATA[*/'			+ code			+ '";/*]]>*/ '); }

/* Include Namespace and Group Information */ includeJS( ( overrideNamespaces ? overrideNamespaces : 'MediaWiki:Namespaces.js' ) ); includeJS( ( overrideGroups ? overrideGroups : 'MediaWiki:Groups.js' ) );

if( skin == 'monobook' ) includeJS( 'MediaWiki:Searchswitch.js', 'novelas' );

/* */