User:Fubuki風吹/global.js

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

/* AjaxRC */ window.ajaxPages = [ 'Special:RecentChanges', 'Special:WikiActivity' ], window.ajaxRefresh = 30000; importScriptPage( 'AjaxRC/code.js', 'dev' );

/** * PersistentParameters * extremely useful when temporarily switching skins */

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

/* Wikimarks */ if ( mw.config.get( 'wgSiteName' ) !== 'Sqm Wiki' ) { importArticles( {       type: 'script',        articles: [            'u:wikimarks:Client.js'        ]    } ); addOnloadHook( function {        $( '.WikiNav .wikimarks-logo' ).html( 'Wikimarks' );    } ); }

/* chatPMs */ /** Originally hosted at github **/ importScriptURI( 'https://gist.githubusercontent.com/sqm-/c98d801efec1d81b2d8c/raw/09bb243a91716bff22e7a63224afd54b8ab2ddcc/chatPMs.js' );