Difference between revisions of "User:Exe boss/common.js"

From The Perfect Tower II
Jump to navigation Jump to search
 
m (Fix content type)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
=ext.globalCssJs.user\
 
=ext.globalCssJs.user\
 
&user=ExE+Boss`);
 
&user=ExE+Boss`);
 +
 +
mw.loader.using("mediawiki.util", () => {
 +
mw.loader.load(
 +
mw.util.getUrl(
 +
"User:Exe_boss/MediaWiki:Gadget-HotCat.js/local_defaults",
 +
{
 +
action: "raw",
 +
ctype: "text/javascript",
 +
}
 +
),
 +
"text/javascript",
 +
);
 +
});

Latest revision as of 03:19, 12 March 2026

mw.loader.load(`https://meta.wikimedia.org/w/load.php?modules\
=ext.globalCssJs.user\
&user=ExE+Boss`);

mw.loader.using("mediawiki.util", () => {
	mw.loader.load(
		mw.util.getUrl(
			"User:Exe_boss/MediaWiki:Gadget-HotCat.js/local_defaults",
			{
				action: "raw",
				ctype: "text/javascript",
			}
		),
		"text/javascript",
	);
});