User:Fubuki風吹/global.js

// Chat Hacks importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('User:Joeytje50/ChatPMs.js', 'c');

// AjaxRC if (mw.config.get('wgCanonicalSpecialPageName') == 'WikiActivity') { mw.util.addCSS(       '#ajaxRefresh {' +            'position: absolute;' +            'right: 0;' +            'bottom: 10px;' +        '}' +        '#ajaxLoadProgress {' +            'margin-left:5px;' +        '}'    ); } window.ajaxPages = ['Special:RecentChanges', 'Special:WikiActivity'], window.ajaxRefresh = 30000;

// PersistentParameters $('.GlobalNavigation').append(' Monobook'); $('#monobook').on('click', function {   $(this).attr('href', '/wiki/' + mw.config.get('wgPageName') + '?useskin=monobook' ); });

// Custom edit buttons if (mw.toolbar) { mw.toolbar.addButton(       'http://static1.wikia.nocookie.net/__cb20070329064845/central/images/2/23/Button_code.png',        'Code',        ' ',        '',        'mw-editbutton-code'    ); }

// Imports importArticles({   type: 'script',    articles: [        'u:dev:AjaxRC/code.js',              // AjaxRC        'u:dev:PersistentParameters/code.js' // Persistent Parameters    ] });