The Wayback Machine - http://web.archive.org/web/20020120003603/http://math-www.uni-paderborn.de:80/~axel/bookmarklet.html
Wikipedia Bookmarklets

Wikipedia Bookmarklets

A bookmarklet is a piece of Javascript code which can be used as an ordinary bookmark in a web browser. The bookmarklets below send the currently highlighted text to the search engine of Wikipedia, the free collaborative encyclopedia, then display the results in a new browser window. If no text is highlighted when the bookmarklet is activated, a popup dialog appears and allows the user to enter search terms. Javascript needs to be enabled in your browser for this to work. Pick your browser below, and follow the instructions.

Netscape and Mozilla

If your Personal Toolbar (a place to store commonly used bookmarks) is not shown, click on the corresponding toolbar tab below the File menu. Then drag and drop the following link to your Personal Toolbar.
Wikipedia search
Alternatively, you can right-click on this link and select Add bookmark. Or you can first try it out by clicking on the link, then typing in some search text. The selection highlighting feature only works if the bookmarklet has been added to your bookmarks as explained above.

Note: Tested on Netscape 4.7/Windows, Mozilla 0.9.6/Windows.

Internet Explorer

If the Links section (a place to store commonly used bookmarks) is not shown, go to View -> Toolbars -> Links. Then drag and drop the following link to your Links section.
Wikipedia search
Alternatively, you can right-click on this link and select Add to Favorites. Or you can first try it out by highlighting some text right now, and then clicking on the link.

Note: Tested on IE 5.5.

Opera

Opera doesn't seem to support the getSelection() method, so this bookmarklet can only be used to type (or paste) in the Wikipedia search terms. Right-click on it, then select "Add link to bookmarks..."
Wikipedia search
Note: Tested on Opera 6.0.

Credits, Comments and Copyrights

The idea for the above came from the bookmarklets of the LEO German-English dictionary. My versions are in the public domain.

Please let me know if something doesn't work right of if you have a Wikipedia bookmarklet for a different browser.


Last Change: 03-Jan-2002
Axel Boldt <axel@uni-paderborn.de>