MediaWiki:Mobile.js

From Archon Arcana
Revision as of 17:52, 1 August 2020 by Saluk (talk | contribs) (javascript updated)
Jump to navigation Jump to search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
mw.loader.load('/index.php?title=MediaWiki:randomcard.js&action=raw&ctype=text/javascript')

$.when(
    mw.loader.getScript('/index.php?title=MediaWiki:CargoSearch_vWbtXaFHKH1uEw==.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()
});