User
Difference between revisions of "Eihel/common.js"
< User:Eihel
(corr.) |
(test) |
||
Line 1: | Line 1: | ||
− | + | mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript'); | |
mw.loader.using( [ 'mediawiki.util' ], function() { | mw.loader.using( [ 'mediawiki.util' ], function() { | ||
Line 5: | Line 5: | ||
mw.util.addPortletLink( | mw.util.addPortletLink( | ||
'p-tb', | 'p-tb', | ||
− | + | '//lingualibre.org/wiki/LinguaLibre:AutoWikiBrowser/Script', | |
'JWB', | 'JWB', | ||
'JavascriptWikiBrowser', | 'JavascriptWikiBrowser', | ||
'vers JWB', | 'vers JWB', | ||
− | |||
); | ); | ||
}); | }); |
Revision as of 17:58, 18 February 2024
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript');
mw.loader.using( [ 'mediawiki.util' ], function() {
'use strict';
mw.util.addPortletLink(
'p-tb',
'//lingualibre.org/wiki/LinguaLibre:AutoWikiBrowser/Script',
'JWB',
'JavascriptWikiBrowser',
'vers JWB',
);
});