User:Fij30jigh110/Toolbar.js/Scripts.js

/* Custom Toolbar Links */ customPages = [ ['MediaWiki:Wikia.css', 'CSS'], ['MediaWiki:Wikia.js', 'JavaScript'], ['w:User:Killian_Jones/global.js', 'Global JS'], ];

/* w:c:dev:CustomToolbarLinks/code.js */ /* CustomToolbarLinks by Bobogoobo */ // Possible additions: option to put items directly on the toolbar, possibly with position specified (function {   if ( typeof customPages == 'undefined' ) {        customPages = 'Main Page';    }    var addCode = ' ' +                      '  ' +                      'Scripts',    c_href, c_html;    for ( var i = 0; i < customPages.length; i++ ) {        c_href = customPages[i][0];        if ( customPages[i].length > 1 ) {            c_html = customPages[i][1];        } else {            c_html = c_href;        }        addCode += ' ' + c_html + '';    }    addCode += '';    $( '.mytools' ).after( addCode );    WikiaFooterApp.init; }); //