Anonymous user
MediaWiki:Common.js: Difference between revisions
no edit summary
sims>Lost Labyrinth (added the JS for the easier report script) |
sims>Lost Labyrinth No edit summary |
||
Line 1:
//
// <source lang="JavaScript">
/* Any JavaScript here will be loaded for all users on every page load. */
Line 642:
}
});
/* smarter IRC connect system */
$(document).ready(function () {
if ($('#IRClogin')) {
var nick = (wgUserName == null) ? ('Wikian' + Math.floor(Math.random() * 10)) : wgUserName.replace(/ /g, '_');
$('#IRClogin').html('<iframe src="http://webchat.freenode.net/?nick=' + nick + '&channels=wikia-sims&prompt=true&uio=OT10cnVlJjExPTUxJjEyPXRydWU37" width="950" height="400" style="border:0;"></iframe>');
}
// </source>
|