Difference between revisions of "MediaWiki:Common.js"
Jump to navigation
Jump to search
Ben Barrett (talk | contribs) |
|||
Line 28: | Line 28: | ||
includePage( 'MediaWiki:Edittools.js' ); | includePage( 'MediaWiki:Edittools.js' ); | ||
// | // </nowiki> |
Revision as of 10:56, 23 February 2014
/* Including extra .js pages */ // switches for scripts var load_edittools = true; // extra drop down menu on editing for adding special characters includePage( 'MediaWiki:Edittools.js' ); // <nowiki> function includePage( name ) { document.write('<script type="text/javascript" src="' + wgScript + '?title=' + name + '&action=raw&ctype=text/javascript"><\/script>' ); } /* End of includePage */ /* Including extra .js pages */ // switches for scripts // TODO: migrate to JSConfig // var load_extratabs = true; var load_edittools = true; // extra drop down menu on editing for adding special characters includePage( 'MediaWiki:Edittools.js' ); // </nowiki>