MediaWiki:Common.js

(Difference between revisions)
GChriss (Talk | contribs)
(test 'mwAddOnloadHook is not defined' workaround)
Newer edit →

Revision as of 05:53, 9 June 2009

/* Any JavaScript here will be loaded for all users on every page load. */

function addOnloadHook(hookFunct) {
	// Allows add-on scripts to add onload functions
	if(!doneOnloadHook) {
		onloadFuncts[onloadFuncts.length] = hookFunct;
	} else {
		hookFunct();  // bug in MSIE script loading
	}

All videos and text are published under the CC-BY 3.0 U. S. or CC-BY-SA 3.0. copyright licenses.  Details.