Difference between revisions of "MediaWiki:Common.js"
Jump to navigation
Jump to search
KOER admin (talk | contribs) (Created page with "$(function() { mw.util.addPortletLink('p-tb', mw.util.wikiGetlink('Special:Export/'+mw.config.get('wgPageName')), 'Export current page', false, 'Export current page as XML...") |
|||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | /* Any JavaScript here will be loaded for all users on every page load. */ | |
− | + | ||
− | + | mw.loader.using(['mediawiki.user', 'mediawiki.legacy.wikibits', 'site', 'user'], function() { | |
− | + | ||
+ | importScript('MediaWiki:UploadForm.js'); | ||
+ | |||
}); | }); |
Latest revision as of 11:58, 21 July 2022
/* Any JavaScript here will be loaded for all users on every page load. */ mw.loader.using(['mediawiki.user', 'mediawiki.legacy.wikibits', 'site', 'user'], function() { importScript('MediaWiki:UploadForm.js'); });