User:Natsu11/global.js

/* Add a clock to the wiki header * See w:c:runescape:MediaWiki:Common.js/displayTimer.js for info & attribution */ importScriptPage('MediaWiki:Common.js/displayTimer.js', 'runescape');

/* Auto-refresh the Recentchanges and Wikiactivity; copied from Avatar Wiki's */

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

/* add contribs to user menu - 2/1/11; by Monchoman45 */

function UserContribsMenuItem { $('ul.AccountNavigation li:first-child ul.subnav li:first-child').after('Contributions'); } addOnloadHook(UserContribsMenuItem);

/* Custom edit buttons * Original by User:Grunny */ mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/central/images/7/73/Button_code_nowiki.png?1", "speedTip": "code+nowiki", "tagOpen": " ", "sampleText": "Insert code here"}; /* to make references pop up - from dev.wikia.com */

importArticles({   type: 'script',    articles: [        "w:c:dev:ReferencePopups/code.js", /* to make references pop up */        "w:c:dev:DisplayClock/code.js",        "w:c:dev:UserTags/code.js",        "u:dev:OldFilePages/code.js", /* to remove the tabs in files */        "u:dev:SearchSuggest/code.js",        "w:runescape:MediaWiki:Common.js/standardeditsummaries.js",        "u:dev:FloatingToc/code.js"        "u:dev:NoImageLightbox/code.js"        "u:wikimarks:Client.js"            ] });

PurgeButtonText = 'purge'; importScriptPage('PurgeButton/code.js', 'dev');