User:Ellpeck/common.js: Difference between revisions
use specific version |
No edit summary |
||
Line 1: | Line 1: | ||
mw.loader.load("https://github.com/Frederisk/Wikitext-Extension-Gadget/releases/download/v1.3.4/index-vscode.js"); | mw.loader.load("https://github.com/Frederisk/Wikitext-Extension-Gadget/releases/download/v1.3.4/index-vscode.js"); | ||
(mw.loader.getState('ext.gadget.rtrc') ? mw.loader.load('ext.gadget.rtrc') : mw.loader.load('https://www.mediawiki.org/w/load.php?modules=ext.gadget.rtrc&lang=' + mw.config.get('wgUserLanguage', 'en'))); |
Latest revision as of 18:56, 4 July 2024
mw.loader.load("https://github.com/Frederisk/Wikitext-Extension-Gadget/releases/download/v1.3.4/index-vscode.js"); (mw.loader.getState('ext.gadget.rtrc') ? mw.loader.load('ext.gadget.rtrc') : mw.loader.load('https://www.mediawiki.org/w/load.php?modules=ext.gadget.rtrc&lang=' + mw.config.get('wgUserLanguage', 'en')));