User:Yethrosh/common.js

//mw.loader.load("//fa.wikipedia.org/w/index.php?title=MediaWiki:Tofawiki.js&action=raw&ctype=text/javascript"); mw.loader.load("//ur.wikipedia.org/w/index.php?title=MediaWiki:Tourwiki.js&action=raw&ctype=text/javascript"); mw.loader.load("//ur.wikipedia.org/w/index.php?title=User:Yethrosh/contentcounter.js&action=raw&ctype=text/javascript"); /*importScript('MediaWiki:Gadget-HotCat.js'); importScript('User:Lupin/recent2.js'); importScript('MediaWiki:Wdsearch.js'); importScript('User:Paranomia/simplevote.js'); importScript("User:Theopolisme/Scripts/adminhighlighter.js"); importScript("User:MarkS/extraeditbuttons.js");*/ importScript("User:Yethrosh/LinkTranslator.js"); //importScript("User:Awesome Aasim/xfdvote.js") //transfer to commons $(function {	if ($(		'#mw-imagepage-nofile, #ca-view-foreign, ' +		'#catlinks a[href="/wiki/%D8%B1%D8%AF%D9%87:%D9%85%D8%AD%D8%AA%D9%88%DB%8C%D8%A7%D8%AA_%D8%BA%DB%8C%D8%B1%D8%A2%D8%B2%D8%A7%D8%AF"]' // Non-free	).length !== 0 || mw.config.get('wgAction') !== 'view' || mw.config.get('wgNamespaceNumber') !== 6) {		return;	}	$(mw.util.addPortletLink(		'p-views',		new mw.Uri('//tools.wmflabs.org/commonshelper/').extend({ lang: mw.config.get('wgContentLanguage'), image: mw.config.get('wgTitle'), interface: mw.config.get('wgContentLanguage') }),		'Transfer to commons'	)).find('a').prop('target', '_blank').prepend($(' ', {		src: '//upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Commons-logo.svg/14px-Commons-logo.svg.png'	}), ' '); });

mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Awesome_Aasim/rcpatrol.js&action=raw&ctype=text/javascript');