MediaWiki
Difference between revisions of "LiLiZip.js/load.js"
< MediaWiki:LiLiZip.js
WikiLucas00 (talk | contribs) m (WikiLucas00 moved page MediaWiki:LinguaZip.js/load.js to MediaWiki:LiLiZip.js/load.js: LinguaZip is already used) |
WikiLucas00 (talk | contribs) (renamed LinguaZip) |
||
Line 5: | Line 5: | ||
//Idea from [[User:Joeytje50/JWB.js]] | //Idea from [[User:Joeytje50/JWB.js]] | ||
− | if (mw.config.get('wgPageName') === 'LinguaLibre: | + | if (mw.config.get('wgPageName') === 'LinguaLibre:LiLiZip/run' && mw.config.get('wgAction') == 'view') |
− | mw.loader.load('/index.php?title=MediaWiki: | + | mw.loader.load('/index.php?title=MediaWiki:LiLiZip.js&action=raw&ctype=text/javascript'); |
Latest revision as of 10:32, 3 September 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:LiLiZip/run' && mw.config.get('wgAction') == 'view')
mw.loader.load('/index.php?title=MediaWiki:LiLiZip.js&action=raw&ctype=text/javascript');