User:Fubuki風吹/global.js

/* 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' ); });

/* Wikimarks */ addOnloadHook( function {    $( '.WikiNav .wikimarks-logo' ).html( 'Wikimarks' ); } );

/* Imports */ importArticles( {   type: 'script',    articles: [        'w:User:Monchoman45/ChatHacks.js',    // Chat Hacks        'w:User:Joeytje50/ChatPMs.js',        // Chat PMs        'u:dev:AjaxRC/code.js',               // AjaxRC        'u:dev:PersistentParameters/code.js', // Persistent Parameters        'u:wikimarks:Client.js'               // Wikimarks    ] } );