User:Original Authority/global.js

importArticles({   type: 'script',    articles: [        'u:dev:PortableCSSPad/code.js',        'u:dev:SkinSwitchButton/code.js'    ] });

//Contributons by TK ( function ( mw ) {   'use strict';    if ( mw.config.get( 'wgNamespaceNumber' ) === 2 ) {        var link = document.createElement( 'a' );        link.accesskey = 's';        link.title = 'View the user\'s contributions [alt-shift-s]';        link.href = '/wiki/Special:Contributions/' + document.getElementById( 'firstHeading' ).textContent.split( ':' )[0].split( '/' )[0];        link.setAttribute( 'primary', '1' );        link.textContent = 'Contributions';        var contribs = document.createElement( 'li' );        contribs.appendChild( link );        contribs.id = 'ca-contributions';        document.getElementById( 'p-cactions' ).getElementsByTagName( 'ul' )[0].insertBefore( contribs, document.getElementById( 'ca-edit' ) );    } }( mediaWiki ) );