User:Withersoul 235/common.js

if ($("#ca-edit").length || $("a[data-id='editprofile']").length) { importArticles({	type: 'script',	articles: [         'u:dev:MediaWiki:NullEditButton/code.js',          'u:dev:MediaWiki:View Source/code.js'	]	}); } else { scriptList.push('u:dev:PurgeButton/code.js'); }

UserTagsJS.modules.nonuser = true; UserTagsJS.modules.autoconfirmed = true; UserTagsJS.modules.newuser = { days: 7, edits: 20, }; UserTagsJS.modules.isblocked = true; UserTagsJS.modules.inactive = 80; UserTagsJS.modules.stopblocked = false;

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

// Opens chat in a window when clicked through a page link or the homepage $(".openchat a").click(function {    window.open('/wiki/Special:Chat', 'wikiachat', 'width=600,height=600,menubar=no,status=no,location=no,toolbar=no,scrollbars=no,resizable=yes');    return false; }); // Adds links to Special:WhatLinksHere to edit pages linked on it. // Taken from OneTwoThreeFall's Global JS. if (mw.config.get('wgCanonicalSpecialPageName') === 'Whatlinkshere') { $('#mw-whatlinkshere-list > li').each(function (ignore, element) {       var link = new mw.Uri($(element).children('a').attr('href'));        link.extend({action: 'edit'});        $(element).find('.mw-whatlinkshere-tools > a:last-child')            .after(' | ', $('').attr('href', link.toString).text('edit'));    }); } // Adds separate list of uncreated categories on Special:Categories. // Taken from OneTwoThreeFall's Global JS. if (mw.config.get('wgCanonicalSpecialPageName') === 'Categories') { var $newCats = $(' ').css('float', 'right').text('Uncreated categories:'); var $newCatsList = $('').appendTo($newCats); $('.mw-spcontent > ul').before($newCats); $('.mw-spcontent > ul > li').has('.newcategory').clone.appendTo($newCatsList); }