User:Scott.wheeler/RelatedArticles

From OpenWetWare
Jump to: navigation, search

Setup

If you'd like to have a handy list of related pages for whatever article you happen to be viewing, I've done a bit of Javascript hacking to make a call to the Directed Edge related articles engine. This pulls in the major benefit of the Directed Edge Encyclopedia (Wikipedia mashup) to Wikipedia proper.

All that you need to get things going is to add the following line to your theme's javascript page:

document.write('<script type="text/javascript" src="http://en.wikipedia.org/w/index.php?title=User:Scott.wheeler/relatedarticles.js&action=raw&ctype=text/javascript"></script>');

Then on every page you'll have something that looks like:

File:RelatedArticles.png

You'll also probably need to do a hard-reload (Ctrl-Shift-R in Firefox) so that your monobook.js file is reloaded. After that you're good to go.

Hope you enjoy and feel free to leave feedback on my talk page.