This is FlickrPedia, a very simple UserScripts to add Wikipedia links into Flickr. It's hosted here temporarily.

MouseHole.script do
name 'FlickrPedia'
namespace 'mail@robertbrook.com'
description "Inserts Wikipedia links for Flickr tags"
version '0.1'

include_match %r{^HTTP://www.flickr.com/photos/.*?$}

rewrite do |req, res|
document.elements.each('//a[@class="globe"]') do |link|
        href = link.attributes['href']
        clipped = href[13 ..-11] # who needs regex?
        span = REXML::Element.new 'a'
        span.attributes['class'] = 'Grey'
        span.attributes['href'] = 'HTTP://www.wikipedia.org/wiki/' + clipped
        span.text = 'W ' # this is pretty crappy...
        link.parent.insert_after link, span
end
end
end