User:Jrooksjr/global.js

function importScriptPage (page, server) { var url = '/index.php?title=' + encodeURIComponent(page.replace(/ /g,'_')).replace('%2F','/').replace('%3A',':') + '&action=raw&ctype=text/javascript'; if (typeof server == "string") url = (server.indexOf('://') == -1)?'http://' + server + '.wikia.com' + url:server + url; return importScriptURI(url); } ajaxPages = ["Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions"]; importScriptPage('AjaxRC/code.js', 'dev');

// OasisToolbarButtons - Adds commonly used action buttons to Oasis' bottom toolbar // Courtesy of Porter21 from w:c:fallout var OasisToolbarButtonsConfig = { en: { addTopic: "Add topic", edit: "Edit", editwithform: "Form", deleteThis: "Delete", history: "History", move: "Rename", protect: "Protect", purge: "Purge", undelete: "Undelete", unprotect: "Unprotect", viewsource: "View source", whatlinkshere: "What links here" } } importScriptPage('OasisToolbarButtons/code.js', 'dev');