User:Hyperborean/global.js

importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('User:Joeytje50/ChatPMs.js', 'c'); importScriptPage("User:Madnessfan34537/multikick.js","cod");

// Imports importArticles({	type:'script',	articles: [		"w:c:dev:DisplayClock/code.js",		"w:c:dev:AntiUnicruft/code.js",		"w:c:dev:RevealAnonIP/usercode.js",		"w:c:dev:AjaxUndo/code.js",		"w:c:dev:WHAM/code.js",		"w:c:dev:MarkForDeletion/code.js",		"w:c:dev:ShowAdsButton/code.js",		"w:c:dev:WallGreetingButton/code.js"	] });

// Skin switch $( function {	if ( !document.getElementById( 'ca-skins' ) ) {		if ( skin === 'oasis' || skin === 'wikia' ) {			$( 'MB' ).appendTo( '#AccountNavigation' ); $( 'WM' ).appendTo( '#AccountNavigation' );		} else {			$( 'Oasis' ).appendTo( '#p-cactions > .pBody > ul' ); $( 'Mobile' ).appendTo( '#p-cactions > .pBody > ul' );		} 	} } );

// Links jQuery(function($) {   "use strict";    var mw = window.mediaWiki || { config: { get: function(p) { return window[p]; } } };    if (mw.config.get('wgCanonicalSpecialPageName') !== 'WikiActivity') return;    var pagelist = ["User:Hyperborean/", "Camp Half-Blood Wiki"];     $("#wikiactivity-main a.title").each(function { var i, l = pagelist.length, $this = $(this), t = $this.text; for (i = 0 ; i < l ; ++i) if (t === pagelist[i]) $this.closest('li').css('display', 'none'); }); }); $(document).ready(function {   if ( skin == 'oasis' )        $( 'UL#AccountNavigation' ).prepend( '<a href="/wiki/Special:Mypage/global.js" style="font-size:12px">Mypage/global.js</a></li>' ); }); $(document).ready(function {   if ( skin == 'oasis' )        $( 'UL#AccountNavigation' ).prepend( '<a href="/wiki/MediaWiki:Chat.css" style="font-size:12px">Chat.css</a></li>' ); });

$(document).ready(function {   if ( skin == 'oasis' )        $( 'UL#AccountNavigation' ).prepend( '<a href="/wiki/MediaWiki:Chat.js" style="font-size:12px">Chat.js</a></li>' ); });

$(document).ready(function {   if ( skin == 'oasis' )        $( 'UL#AccountNavigation' ).prepend( '<a href="/wiki/MediaWiki:Wikia.css" style="font-size:12px">Wikia.css</a></li>' ); }); $(document).ready(function {   if ( skin == 'oasis' )        $( 'UL#AccountNavigation' ).prepend( '<a href="/wiki/MediaWiki:Common.js" style="font-size:12px">Common.js</a></li>' ); });

$(document).ready(function {   if ( skin == 'oasis' )        $( 'UL#AccountNavigation' ).prepend( '<a href="/wiki/MediaWiki:Wikia.js" style="font-size:12px">Wikia.js</a></li>' ); });

// AccountNavigation changes function AddNavigationLinks { $('<a href="/wiki/Special:Contributions/'+ encodeURIComponent(wgUserName) +'">My contributions</a></li>').insertAfter($('.AccountNavigation .subnav li a[data-id="preferences"]').parent); } addOnloadHook(AddNavigationLinks);