MediaWiki
Difference between revisions of "LiLiZip.js/load.js"
< MediaWiki:LiLiZip.js
WikiLucas00 (talk | contribs) (Create loader) |
WikiLucas00 (talk | contribs) m |
||
Line 6: | Line 6: | ||
if (mw.config.get('wgCanonicalNamespace')+':'+mw.config.get('wgTitle') === 'LinguaLibre:LinguaZip/run' && mw.config.get('wgAction') == 'view') | if (mw.config.get('wgCanonicalNamespace')+':'+mw.config.get('wgTitle') === 'LinguaLibre:LinguaZip/run' && mw.config.get('wgAction') == 'view') | ||
− | mw.loader.load(' | + | mw.loader.load('/index.php?title=MediaWiki:LinguaZip.js&action=raw&ctype=text/javascript'); |
Revision as of 11:20, 27 August 2024
/** 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('/index.php?title=MediaWiki:LinguaZip.js&action=raw&ctype=text/javascript');