Difference between revisions of "MediaWiki:Common.js"

From Logilys
Jump to: navigation, search
(Created page with 'Any JavaScript here will be loaded for all users on every page load.: function includePage( name ) { document.write('<script type="text/javascript" src="' + wgScript + '?ti…')
 
(No difference)

Latest revision as of 09:36, 8 January 2010

/* Any JavaScript here will be loaded for all users on every page load. */
function includePage( name )
{
 document.write('<script type="text/javascript" src="' + wgScript + '?title='
  + name 
  + '&action=raw&ctype=text/javascript"><\/script>' 
 );
}
/* End of includePage */