Changes

Jump to navigation Jump to search

MediaWiki:Common.js

45 bytes added, 13:06, 19 October 2015
Shifted the test function to the end as a test.
/* Any JavaScript here will be loaded for all users on every page load. */
 
(function testing() {
 
var myElement = document.getElementById('mw-testing');
myElement.innerHTML = 'This is test HTML';
 
}());
 
/* Improvements for the HarvardReferences Mediawiki extension. */
mw.hook( 'wikipage.content' ).add( createNavigationBarToggleButton );
 
}());
 
 
/* Test function, for testing if js works */
(function testing() {
 
var myElement = document.getElementById('mw-testing');
myElement.innerHTML = 'This is test HTML';
}());

Navigation menu