User:P858snake/common.js

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

var title = wgTitle;

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 */ importScriptURI('//ru.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript');