MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */ $("#iframeloader-GoodIntentions").replaceWith(''); $("#iframeloader-ABabyToy").replaceWith(' '); $("#iframeloader-JingleBellsReversed").replaceWith(''); $("#iframeloader-ChrisTheJackOLantern").replaceWith(''); $("#iframeloader-ChrisTheJackOLantern2").replaceWith(''); $("#iframeloader-UltimateMaze").replaceWith(''); $("#iframeloader-DolphinSwim").replaceWith(' '); $("#iframeloader-ReverseSongPrank").replaceWith(''); $("#iframeloader-Find5ThingsWrong").replaceWith(' '); $("#iframeloader-Danceswf").replaceWith(' '); $("#iframeloader-HeartFace").replaceWith(' '); $("#iframeloader-CountingSheep").replaceWith(' '); $("#iframeloader-Discord").replaceWith(' ');

/* Replaces with the name of the user browsing the page. Requires copying Template:Username. */ function UserNameReplace { if(typeof(disableUsernameReplace) != 'undefined' && disableUsernameReplace || wgUserName == null) return; $("span.insertusername").html(wgUserName); } addOnloadHook(UserNameReplace); importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:YoutubePlayer/code.js'    ] });