User:Marphimon/wikia.js

importScriptPage('MediaWiki:Interwiki.js', 'community');

if (wgPageName == "Special:SiteWideMessages") { /* only show own SWMs */ function dismissOthersSWMs { $(".mw-datatable.TablePager tr").fadeOut; setTimeout(function { $($(".mw-datatable.TablePager tr td:contains('MtaÄ')")).parent.fadeIn; $(".mw-datatable.TablePager thead tr").fadeIn; }, 100); }

dismissOthersSWMs;

/* show all swms */ $(".mw-datatable.TablePager").before("Show all SWMs Show own SWMs"); function showAllSWM { $(".mw-datatable.TablePager tr").fadeIn; } }