MediaWiki
Difference between revisions of "LiLiZip.js/load.js"
< MediaWiki:LiLiZip.js
WikiLucas00 (talk | contribs) m |
WikiLucas00 (talk | contribs) (simplify for test) |
||
Line 5: | Line 5: | ||
//Idea from [[User:Joeytje50/JWB.js]] | //Idea from [[User:Joeytje50/JWB.js]] | ||
− | if (mw.config.get(' | + | if (mw.config.get('wgPageName') === 'LinguaLibre:LinguaZip/run') |
mw.loader.load('/index.php?title=MediaWiki:LinguaZip.js&action=raw&ctype=text/javascript'); | mw.loader.load('/index.php?title=MediaWiki:LinguaZip.js&action=raw&ctype=text/javascript'); |
Revision as of 11:29, 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('wgPageName') === 'LinguaLibre:LinguaZip/run')
mw.loader.load('/index.php?title=MediaWiki:LinguaZip.js&action=raw&ctype=text/javascript');