User:Dragoniez/common.js: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
Dragoniez (talk | contribs)
No edit summary
Tag: Reverted
Dragoniez (talk | contribs)
No edit summary
Tag: Reverted
Line 6: Line 6:
//mw.loader.load('http://127.0.0.1:5500/wikipediaglobaltest2.js');
//mw.loader.load('http://127.0.0.1:5500/wikipediaglobaltest2.js');


($ => {
(function($) {
$.getScript('//testwiki.wiki/wiki/Test.js&action=raw&ctype=text/javascript', function() {
$.getScript('//testwiki.wiki/wiki/Test.js&action=raw&ctype=text/javascript', function() {
console.log(TEST);
console.log(TEST);

Revision as of 17:17, 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/wiki/Test.js&action=raw&ctype=text/javascript', function() {
        console.log(TEST);
    });
})(jQuery);