MediaWiki:Wikia.js/socialIcons.js

// Auto-refresh Special:RecentActivity

AjaxRCRefreshText = 'Auto-refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; importScriptPage('AjaxRC/code.js', 'dev'); var ajaxPages =["Special:RecentChanges", "Special:WikiActivity"];

// ==UserScript== // @name          Wikia Side Rail Social Icons // @namespace     http://userscripts.org/users/Madnessfan34537 // @author        Madnessfan34537 // @description   Adds social media icons for Halo Nation to the side rail of articles. // @include       http://*.wikia.com/* // ==/UserScript== function SocialIcons { var userArray = wgPageName.split(":"); $('.WikiaRail').prepend('          '); }       if (mw.config.get("wgNamespaceNumber") != "user") { addOnloadHook(SocialIcons); }