User:Falkirks/common.js: Difference between revisions
(Created page with "mw.loader.load( '//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' ); // HotCat") |
m (test) |
||
| Line 1: | Line 1: | ||
mw.loader.load( '//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' ); // HotCat | mw.loader.load( '//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' ); // HotCat | ||
$(function () { | |||
if($("#randomNameHolder").length == 1) { | |||
$('#randomNameHolder').html('any HTML'); | |||
} | |||
}()); | |||
Revision as of 20:22, 27 February 2019
mw.loader.load( '//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' ); // HotCat
$(function () {
if($("#randomNameHolder").length == 1) {
$('#randomNameHolder').html('any HTML');
}
}());