User:P858snake/common.js

/* * Name        : Contributions tab on User pages * Description : Add contribs tab on user pages * Source     : Modified from MediaWiki:Gadget-blocktab.js */ $(function {	if ( mw.config.get('wgNamespaceNumber') != "2" && mw.config.get('wgNamespaceNumber') != "3" ) {		return; // restrict to User and User talk	}

var title = mw.config.get('wgTitle');

mw.util.addPortletLink(		'p-cactions',		'/wiki/Special:Contributions/' + title,		'Contributions', 't-contributions2', 'Contributions for "' + title + '"'	); });

/* * Name        : Mark blocked users * Description : Blocked users with strike through, indef with strike and italics * Source     : http://en.wikipedia.org/wiki/User:NuclearWarfare/Mark-blocked_script.js */ mw.loader.getScript('//ru.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript');