MediaWiki:Common.js

$("#tokenEffect" ).fadeOut(500); $("#tokenEffect" ).fadeIn(500);

$( ".userProfileFadeIn" ).animate({ opacity: .0 }, 500, "linear", function { });

$( ".userProfileFadeIn" ).animate({ opacity: 1.1 }, 1300, "linear", function { });

$(document).ready(function{ $('#newArticle').mouseover(function{ $(this).addClass('hoverNewArticleUser'); }); $('#newArticle').mouseout(function{ $(this).removeClass('hoverNewArticleUser'); }); });

$(document).ready(function{ $('#viewBankUserProfile').mouseover(function{ $(this).addClass('hoverBankUser'); }); $('#viewBankUserProfile').mouseout(function{ $(this).removeClass('hoverBankUser'); }); });

$(document).ready(function{ $('#postAQuestionUserProfile').mouseover(function{ $(this).addClass('hoverQAUser'); }); $('#postAQuestionUserProfile').mouseout(function{ $(this).removeClass('hoverQAUser'); }); });

$("#newArticleUserProfile" ).slideDown(2200).delay(1500);

$("#inputBoxInProfiles" ).delay(2000).fadeIn(2000);

$("#profileWideStaffMessage").delay(3000).fadeIn(800);

$( "#cover" ).animate({ left: "+=220px", opacity: 1 }, { duration: 5700, queue: false });

$( "#playHead" ).animate({ left: "+=220px", opacity: 1 }, { duration: 5700, queue: false });

$( "#playHead" ).animate({ left: "+=220px", opacity: .0 }, { duration: 5700, queue: false });

$( "#waveformImage" ).animate({ left: "+=60px",opacity: .0 }, { duration: 8700, queue: false });

$( ".joinButton" ).animate({ opacity: .0 }, 500, "linear", function { });

$( ".joinButton" ).animate({ opacity: 1.1 }, 1300, "linear", function { });

$( ".joinButton" ).animate({ opacity: .0 }, 500, "linear", function { });

$( ".joinButton" ).animate({ opacity: 1.1 }, 1300, "linear", function { });

$( ".joinButton" ).animate({ opacity: .0 }, 500, "linear", function { });

$( ".joinButton" ).animate({ opacity: 1.1 }, 1300, "linear", function { });

$(".joinButton").click(function { window.location = "http://en.wikiaudio.org/Special:RequestAccount" });

$( "#alien" ).animate({ left: '+=383', }, 5000, function { });

/** * Extra buttons in toolbar * @stats */ jQuery.getScript('//meta.wikimedia.org/w/index.php?title=User:Krinkle/Scripts/InsertWikiEditorButton.js&action=raw&ctype=text/javascript', function {        // YouTube        krInsertWikiEditorButton({ "id": "mw-customeditbutton-myspecialbutton", "icon": "http://aux.iconpedia.net/uploads/1232546145789230708.png", "label": "YouTube", "insertBefore": "", "sampleText": "" });       // SoundCLoud        krInsertWikiEditorButton({ "id": "mw-customeditbutton-myspecialbutton", "icon": "http://en.wikiaudio.org/images/f/f7/SoundCloudIconSmall.png", "label": "SoundCloud", "insertBefore": "", "sampleText": "" });  // Code        krInsertWikiEditorButton({ "id": "mw-customeditbutton-myspecialbutton", "icon": "http://en.wikiaudio.org/images/1/1c/SourceCodeIcon.png", "label": "Code", "insertBefore": " ", "sampleText": "" }); });

// include category prefix remove required by Template:RemoveCategoryListPrefix importScript( "MediaWiki:CategoryListPrefixRemover.js" );