User:OnyxVolcano/global.js

//Add this to your global.js file (http://c.wikia.com/wiki/Special:MyPage/global.js) //Then, when you click the "join chat" button in the sidebar, you'll have awesome chat hacks importScriptURI('http://c.wikia.com/index.php?title=User:Monchoman45/ChatHacks.js&action=raw&ctype=text/javascript'); //Multiple PMS if(wgCanonicalSpecialPageName == 'Chat') { function createGroupPM { var users = prompt('Enter comma seperated list of users to start a PM with',''); var users = users.split(','); mainRoom.openPrivateChat(users); } $('form#Write').append('PM'); } importArticles({   type: 'script',    articles: [        'u:dev:FloatingToc/code.js',        'u:dev:AjaxBatchDelete/code.js',        'u:dev:AjaxTemplate/code.js',        'u:dev:AjaxUndo/code.js',        'u:dev:FastOldImageDelete/code.js',        'u:dev:FastDelete/code.js',        'u:dev:WHAM/code.js',        'u:dev:AdvancedOasisUI/code.js',        'u:dev:MessageBlocker/code.js',        'u:dev:VisualSpellCheck/code.js',        'u:wikimarks:Client.js',        'u:dev:AllPagesHideRedirect/code.js',        'u:dev:ListAdmins/code.js',        'u:dev:SkinSwitchButton/code.js',        'u:dev:WallGreetingButton/code.js'    ] }); var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'author request', 'label': 'requested' }; fdButtons[fdButtons.length] = { 'summary': 'inactive user', 'label': 'inactive' }; fdButtons[fdButtons.length] = { 'summary': 'other reason', 'label': 'other' }; fdButtons[fdButtons.length] = { 'summary': 'duplicate', 'label': 'duplicate' }; fdButtons[fdButtons.length] = { 'summary': 'not in use', 'label': 'Unused' }; window.AdvancedOasisUI = { accountNavFollowedPages: true, accountNavWatchlist: true, categoryRedlink: true, RCHeader: true, lightbox: true, randomPageLimitedTo: '', activity2RC: true, userLang: true, };