User:Dragoniez/common.js: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 7: | Line 7: | ||
(function($) { |
(function($) { |
||
$.getScript('//testwiki.wiki/ |
$.getScript('//testwiki.wiki/index.php?title=Test.js&action=raw&ctype=text/javascript', function() { |
||
console.log(TEST); |
console.log(TEST); |
||
}); |
}); |
Revision as of 17:18, 18 June 2022
mw.loader.load('http://127.0.0.1:5500/Test/wikipediatest.js');
mw.loader.load('http://127.0.0.1:5500/Test/wikipediatest2.js');
mw.loader.load('http://127.0.0.1:5500/Test/wikipediatest3.js');
mw.loader.load('http://127.0.0.1:5500/Test/wikipediatest4.js');
//mw.loader.load('http://127.0.0.1:5500/wikipediaglobaltest.js');
//mw.loader.load('http://127.0.0.1:5500/wikipediaglobaltest2.js');
(function($) {
$.getScript('//testwiki.wiki/index.php?title=Test.js&action=raw&ctype=text/javascript', function() {
console.log(TEST);
});
})(jQuery);