Dschwen wrote:
I just whipped up a little Javascript for that purpose (PHP developers, start puking now!). Just insert the following lines into your monibook.js (or whichever skin you are using.
// [[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 and please report bugs directly to me (less spammy to the list and less embarrasing to me :-) )
Problem with JavaScript solutions is that they need *another* http query. If that was done on the server side there would be no overhead.
Some points about the code: It uses 5 functions: createXMLHTTP, updateStatus, addEvent, install and run
Being it new worl, i'd discourage coding new fucntions for addEvent and createXMLHTTP, as the general Mediawiki javascript includes already includes equivalent functions (theoretically with full browser compat.).
It's interesting your style of making eveything into a big variable.