MediaWiki

LiLiZip.js/load.js

< MediaWiki:LiLiZip.js
Revision as of 11:16, 27 August 2024 by WikiLucas00 (talk | contribs) (Create loader)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 / Edge: 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.
/** This script contains the code required for loading [[MediaWiki:LinguaZip.js]].
 *  All other code is located at that page.
 */

//Idea from [[User:Joeytje50/JWB.js]]

if (mw.config.get('wgCanonicalNamespace')+':'+mw.config.get('wgTitle') === 'LinguaLibre:LinguaZip/run' && mw.config.get('wgAction') == 'view')
	mw.loader.load('//lingualibre.org/w/index.php?title=MediaWiki:LinguaZip.js&action=raw&ctype=text/javascript');