User

Difference between revisions of "Eihel/common.js"

< User:Eihel

(test)
(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.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-personal',
 +
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript'),
 +
'JWB',
 +
'JavascriptWikiBrowser',
 +
'vers JWB',
 +
'',
 +
);
 +
});

Revision as of 17:46, 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-personal',
		mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript'),
		'JWB',
		'JavascriptWikiBrowser',
		'vers JWB',
		'',
	);
});