Difference between revisions of "MediaWiki:Common.js"

From Archon Arcana
Jump to navigation Jump to search
m (javascript updated)
m (javascript updated)
Line 7: Line 7:
  
 
$.when(
 
$.when(
     mw.loader.getScript('/index.php?title=MediaWiki:CargoSearch_2B_aWqjt1iDsgA==.js&action=raw&ctype=text/javascript'),
+
     mw.loader.getScript('/index.php?title=MediaWiki:CargoSearch_3P-TF93a9sWiSw==.js&action=raw&ctype=text/javascript'),
 
     mw.loader.getScript('/index.php?title=MediaWiki:jquery-endless-scroll.js&action=raw&ctype=text/javascript'),
 
     mw.loader.getScript('/index.php?title=MediaWiki:jquery-endless-scroll.js&action=raw&ctype=text/javascript'),
 
     mw.loader.getScript('https://cdnjs.cloudflare.com/ajax/libs/blueimp-md5/2.16.0/js/md5.min.js'),
 
     mw.loader.getScript('https://cdnjs.cloudflare.com/ajax/libs/blueimp-md5/2.16.0/js/md5.min.js'),

Revision as of 00:04, 2 August 2020

// Gadgets:

//syntax highlighter
mw.loader.load('//www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-DotsSyntaxHighlighter.js&action=raw&ctype=text/javascript');
mw.loader.load('/index.php?title=MediaWiki:randomcard.js&action=raw&ctype=text/javascript')
//mw.loader.getScript('/index.php?title=MediaWiki:DeckSearch.js&action=raw&ctype=text/javascript'),

$.when(
    mw.loader.getScript('/index.php?title=MediaWiki:CargoSearch_3P-TF93a9sWiSw==.js&action=raw&ctype=text/javascript'),
    mw.loader.getScript('/index.php?title=MediaWiki:jquery-endless-scroll.js&action=raw&ctype=text/javascript'),
    mw.loader.getScript('https://cdnjs.cloudflare.com/ajax/libs/blueimp-md5/2.16.0/js/md5.min.js'),
    mw.loader.getScript('https://cdn.jsdelivr.net/npm/select2@4.0.13/dist/js/select2.min.js')
)
	.then(function() {
        console.log("loaded external js")
        init_cargo_search()
})