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") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
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) { | |||
$.get( "https://nnames.herokuapp.com/", function( data ) { | |||
$('#randomNameHolder').html(data); | |||
}); | |||
} | |||
}()); |
Latest revision as of 20:24, 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) { $.get( "https://nnames.herokuapp.com/", function( data ) { $('#randomNameHolder').html(data); }); } }());