MediaWiki:Gadget-red-verde.js

if ($.inArray(mw.config.get('wgAction'), ['view', 'submit', 'purge']) !== -1 && mw.config.get('wgCanonicalNamespace') !== 'Special'       && typeof highlightRedirects === 'undefined') { window.highlightRedirects = { run: function { mw.util.addCSS('a.mw-redirect{ color:green }'); },		install: function { mw.util.addPortletLink('p-cactions', 'javascript:highlightRedirects.run;', 'Redirecciones'); }	};	$(highlightRedirects.install); }