Difference between revisions of "MediaWiki:Common.js"
Jump to navigation
Jump to search
Bugman admin (talk | contribs) (Debugging attempt 3 - modified the [show] link logic to match the [hide] link logic, this time correctly (the 'hide' part works, but 'show' shows 'ReferenceError: hasClass is not defined').) |
Bugman admin (talk | contribs) (Removed the NavFrame code now in MediaWiki:Gadget-NavFrame.js.) Tag: Replaced |
||
Line 3: | Line 3: | ||
/* Improvements for the HarvardReferences Mediawiki extension. */ | /* Improvements for the HarvardReferences Mediawiki extension. */ | ||
importScript('HarvardReferences.js'); | importScript('HarvardReferences.js'); | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
/* Test function, for testing if js works */ | /* Test function, for testing if js works */ |
Revision as of 12:23, 20 October 2020
/* Any JavaScript here will be loaded for all users on every page load. */
/* Improvements for the HarvardReferences Mediawiki extension. */
importScript('HarvardReferences.js');
/* Test function, for testing if js works */
(function () {
var myElement = document.getElementById('mw-testing');
myElement.innerHTML = 'This is test HTML';
}());