User:Dschwen/HighlightRedirects

From OpenWetWare
Jump to navigationJump to search

HighlightRedirects is a JavaScript plugin which checks all links on the current page to see whether they are pointing to redirect pages. The script inserts a new tab next to the watch/unwatch tab. Clicking it starts the checking process. If found links to redirect pages are colored green.

You can add the plugin to your profile by inserting the following lines into your monobook.js file:


// [[User:Dschwen/highlightredirects.js]] - please include this line 
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Dschwen/highlightredirects.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

Have fun!

pt:Wikipedia:Software/Scripts/Redirecionamentos