MediaWiki:Wikia.js

// remove links to base page(s) from a sub page for Osais skin. See Template:Subpagelinkremove if ($('#WikiaArticle span.base-page-links-remove').length) { $("header#WikiaPageHeader h2:last-child").remove; $("#WikiaArticle span.base-page-links-remove").remove; }

// minor edits button help link (discluding wide mode) if ($("body.editor #EditPage .module_content .checkboxes").length > 0) { // check whether a an older revision exists $("body.editor #EditPage .module_content .checkboxes").append('(help)'); $("body.editor #EditPage .module_content .checkboxes .wpMinoredit").css("display","inline-block"); }

// Spydar007's avatar - please contact Penguin-Pal for more info $(document).ready(function { importArticles({ type: "script", article: "MediaWiki:Wikia.js/spydar007.js" }); });

// remove image attributions from blogs that contains Category:News if ($('#catlinks .mw-normal-catlinks a[href="/wiki/Category:News"]').length > 0) { $("figure.thumb .thumbcaption .picture-attribution").remove; }

// Template:ButtonHover - function of the parameter value "|hidebuttom= true"

$(".fadeout-container.fadeout-hide-bottom .fadeout").mouseover(function {	$(this).parent.find(".fadein").css("visibility","visible"); }); $(".fadeout-container.fadeout-hide-bottom .fadeout").mouseout(function {	$(this).parent.find(".fadein").css("visibility","hidden"); });