User:Arashiryuu0/global.js

PurgeButtonText = 'Purge';

importArticles({   type: 'script',    articles: [        'u:dev:DifferentSkinEditor/code.js',        'u:dev:Message/code.js',        'u:dev:PurgeButton/code.js',        'u:dev:RelatedDiscussionsModule/code.js',        'u:dev:YoutubeModal/code.js',        'u:dev:MediaWiki:View_Source/code.js',        'u:dev:UTCClock/code.js',        'u:dev:AjaxRC/code.js'        /*'w:c:admintools:MediaWiki:Wikia.js/editCount.js'*/    ] });

/* Auto Refresh */ AjaxRCRefreshText = 'Auto-refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; ajaxPages = [ 'Special:RecentChanges', 'Special:WikiActivity', 'Special:AllPages', 'Special:UncategorizedPages' ];

/*************************************************************************************************** *                                         STUFF                                                  * * *********************************************************************************************** */

/*Masthead rights, custom tags $(function { var rights = { Arashiryuu0: [] }; if(typeof rights[wgTitle] != 'undefined') {      // remove old rights      $('.UserProfileMasthead .masthead-info span.tag').remove;      for(var i=0, len=rights[wgTitle].length; i < len; i++) {        // add new rights        $(' ' + rights[wgTitle][i] + ' ').appendTo('.masthead-info hgroup');     } } });*/

// Adding a faux-bio section to my user profile $(function { if(wgTitle === 'Arashiryuu0' || wgTitle === 'Arashiryuu') {    return $('.details ul').append( $('', {            class: 'bio',             id: 'bio-content'         }).html(' Bio ' + 'お前はもう死んでいる') ); }  return; });

// Material Theme SyntaxHighlight Stuff $(function {   var thees = $('.javascript.source-javascript .kw1:contains(this)');    var these = $('.javascript.source-javascript .kw4:contains(this)');    var wen = $('.javascript.source-javascript .kw1:contains(new)');    var jQ = $('.javascript.source-javascript .kw1:contains($)');    var aF = $('.javascript.source-javascript .sy0:contains(=>)');    var prote = $('.javascript.source-javascript .kw1:contains(prototype)');    if(thees)        thees.addClass('this').css({'color':'#f95479', 'font-style':'italic'});    if(these)        these.addClass('this').css({'color':'#f95479', 'font-style':'italic'});    if(wen)        wen.addClass('new').css({'color':'#89ddf3'});    if(jQ)        jQ.addClass('jQ').css({'color':'#89ddf3'});    if(aF)        aF.addClass('aF').css({'color':'#c792ea'});    if(prote)        prote.addClass('prote').css({'color':'#f78c6a'});    else        return; });

/*************************************************************************************************** *                                         END                                                    * * *********************************************************************************************** */