Polymorph: Zak Greant's Blog

MediaWiki History Sparklines Greasemonkey Script

At the end of last month, I started a consulting gig with the WikiMedia Foundation. Part of the gig involves reviewing the MediaWiki docs and learning MediaWiki from a developer’s perspective. To help me more easily know when docs are out of date and to start getting a better handle on an external developer’s experience of MediaWiki, I’ve written a little Greasemonkey script that shows sparklines (aka tiny graphs) of the last three years of edits for pages on MediaWiki sites.

You can see what the sparklines look like in the screenshot below:

MediaWiki History Sparklines Greasemonkey Script Screenshot

Like other Greasemonkey scripts, you’ll need Firefox (and a recent version – 3.5+) with Greasemonkey installed to run this script. The script relies on the awesome jQuery and jQuery Sparklines libraries (which Greasemonkey will silently install for you.)

To install the script, click here.

If you’d like to contribute patches, note a problem or the like, visit http://github.com/zakgreant/Miscellaneous/tree/master/mw_history_sparkline. The code is licensed under the permissive Simplified BSD license, which allows you to do almost anything with it.

Share

Posted on Friday, June 4th, 2010 at 18:53

You can follow any responses to this entry through the RSS 2.0 feed.

You can leave a response, or trackback from your own site.

Leave a Reply

Comments are moderated. I delete obvious SEO attempts and other content-free comments.

Polymorph is powered by Wordpress running on Apache, Ubuntu Linux, MySQL and PHP.

The marvelous illustration of the Mad Hatter is by the late, great John Tenniel.
Like many great parts of our culture, it is in the public domain.

Contact: zak@greant.com

Entries (RSS) and Comments (RSS)