Jump to content

Wikipedia:Tools/Browser integration

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 66.177.56.75 (talk) at 23:28, 10 February 2006 (Google toolbar). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The tools on this page are intended to enhance browser functions as related to Wikipedia. For other tools, see Wikipedia:Tools. This page is organised by browser dependency.

Cross-browser

Note: this category covers tools that are compatible with all major browsers.

Various javascript tools

Customize the Wikipedia layout

Description

Allows the user to customize the Wikipedia skin using stylesheets.

Instructions

Specialised bookmarklets

These bookmarks perform specific actions on the article targetted.

Description

This script opens comparisons between the eleven latest edits. This script is credited to JesseW.

Instructions

  • This information is currently missing. If you can add to this, please do so.

Code

javascript:(function () {
 var n=0;for (var z=0;z<document.links.length & n<11;z++) {
   var q=document.links[z].innerHTML;
   if (q=='diff'||q=='(diff)') {
     n++;
     window.open(document.links[z]);
   }}})()

Usage

This information is currently missing. If you can add to this, please do so.

List of authors of an article

Description

The GNU free documentation licence requires the publication of the list of authors of an article, eg. when translating it within Wikipedia, or when copying it to another wiki. Wikinations.org proposes the following bookmarklet to do this.

Instructions

  1. Go to the history page of the article.
  2. Click on "500" to display the last 500 modifications of the page.
  3. Make sure that your browser allows pop-ups on this page.
  4. Copy & paste the code into the address bar of your browser.
  5. Confirm your entry by pressing the "Enter" key.
  6. A window opens with the list of contributors. Verify that special characters are handled properly.

Code

Note: The code has been broken onto multiple lines to preserve page layout. Please paste each segment onto a single line when using.
javascript:eMlA=;for(iB2M=0;iB2M<document.links.length;iB2M++)
{Ju59=document.links[iB2M].toString();
if(Ju59.substring(0,34)=='http://en.wikipedia.org/wiki/User:')
{Ju60=Ju59.substring(34,Ju59.length)+'\n';if(eMlA.indexOf(Ju60)==-1)
{eMlA+=Ju60}}};WN7z=open(,'Z6','width=400,height=200,scrollbars,resizable,menubar');
with(WN7z.document){write('<base target=_blank>');write(eMlA);void(close())}

View difference since your last change

Description

This bookmark allows the user to view a comparison between his last edit and the most recent revision. Please address any questions, bugs, requests, or patches to User_talk:JesseW.

Instructions

This information is currently missing. If you can add to this, please do so.

Code

javascript:(function () {z=document.getElementById("pagehistory").childNodes;
for (n=0;n<z.length;n++)
{if (z[n].getElementsByTagName("span")[0].textContent==document.getElementById("pt-userpage").textContent) {document.location=z[n].childNodes[1].href; break}}})()

Usage

Run this bookmarklet from the history page of the targeted article. It's a good way to see what happened since you last looked at the page. (Well, edited it, actually, but isn't that the same for most of us? ;-) )

Show anchors and names

Description

Displays the href value of all links on a page. This is helpful when you want to link to a lot of wikipedia page sections en masse. Please address questions, bugs, requests, or patches to User_talk:JesseW

Instructions

This information is currently missing. If you can add to this, please do so.

Code

javascript:(function(){var i,c,x,h; for(i=0;x=document.links[i];++i)
{h=x.getAttribute(%22href%22); x.title+=%22 %22 + x.innerHTML; x.appendChild(document.createTextNode(h)); } })()

Usage

This information is currently missing. If you can add to this, please do so.

Description

Points all wikilinks on the current page to their respective history pages. It may also catch some non-wikilinks, but it will return to normal if you reload the page. This is based on a bookmarklet for changing the target of links that I got from Squarefree.com. Please address questions, bugs, requests, or patches to User_talk:JesseW.

Instructions

This information is currently missing. If you can add to this, please do so.

Code

javascript:(function(){var x,i; x=document.links;
for(i=0;i<x.length;++i) { if (/wiki/.test(x[i].href)) {z=x[i].href.match(/[^\/]+$/); x[i].href=%22http://en.wikipedia.org/wiki/%22+z+%22?action=history%22; }; }})();

Usage

This information is currently missing. If you can add to this, please do so.

Description

Points all wikilinks on the current page at the edit pages of their targets. It may also catch some non-wikilinks, but it will return to normal if you reload the page. Please address questions, bugs, requests, or patches to User_talk:JesseW.

Instructions

This information is currently missing. If you can add to this, please do so.

Code

javascript:(function(){var x,i; x=document.links;
for(i=0;i<x.length;++i) { if (/wiki/.test(x[i].href)) {z=x[i].href.match(/[^\/]+$/); x[i].href=%22/wiki/%22+z+%22?action=edit%22; };
}})();

Usage

This information is currently missing. If you can add to this, please do so.

Search highlighted term or terms

Description

This bookmarklet allows you to quickly search for a highlighted or entered term using a bookmark. The scripts support Mozilla/Mozilla Firefox, Opera and Internet Explorer.

Installation instructions

  1. Navigate to Wikipedia Lookup in the desired browser.
  2. Right-click the desired link and select "add to bookmarks" (or similar).
  3. A dialogue box may appear, saying that the link may not work or be safe. Click "yes" to allow.

Usage

To use the bookmarklet, highlight a word or phrase on any page and click on the bookmark. Alternately, click on the bookmark and enter a word or phrase at the prompt. This script works in both Internet Explorer and Mozilla Firefox. To use it in Opera, you may want to add the bookmark to the personal panel.

Description

Abstracts of most medical journals are freely available at PubMed which includes a means of searching the MEDLINE database. Some tools have been developed by WikiProject Clinical medicine to generate reference markups for these.

Usage See WikiProject Clinical medicine#References for details

Microsoft Internet Explorer

Search toolbar

Description

Places a Wikipedia searchbox beside Internet Explorer's address bar.

Instructions

  1. Download the addon from its download page.
  2. Double-click the downloaded setup file and follow the on-screen instructions.
  3. The addon is installed.

Usage

In Internet Explorer, type the search terms in the searchbox beside the address bar. Select the language Wikipedia you'd like to search and click the search button (the magnifying glass icon). The addon should automatically detect updates.

Google Toolbar Button

Description

Places a custom button on Google's new toolbar to preview a specific article, get RSS feed for article, see recent changes to article, and link to edit article. Also can use search box to find other articles.

Instructions

Replace language, first letter of article and article_name in the following link with your language, first letter of article name and article name (case matters).
http://toolbar.google.com/buttons/add?url=http://www.blinkbits.com/wikifeeds_toolbars/en/k/Kayaking.xmlDownload
or
Visit http://www.blinkbits.com/wikifeeds.php to find an article of interest and click on the add to Google link on the top of the page.

Usage

In Internet Explorer, click on the button to go to the article preview, pull down the menu to see most recent article and visit edit page, and use the search box to search for other articles.

URL shortcut

Description

Allows the user to go to a Wikipedia article from the Windows Internet Explorer address bar by typing "wp Article_Name".

Instructions

  1. Open a new text file in your favourite text editor.
  2. Copy and paste the code into it exactly as written.
  3. Save the text file as "wiki.reg" (make sure it's filename extension is ".reg", not ".reg.txt").
  4. Note: Windows 98 users and others using version 4 of the Registry Editor must instead input the 1st line as "REGEDIT4", without the quotes.
  5. Double-click on the file you just saved to add the information to the Windows registry.
  6. Click Yes to proceed if it asks you if you want to continue.

Code

See "Instructions" above.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\wp]
 @="http://en.wikipedia.org/wiki/%s"

Usage

In the address bar, type "wp Article_name" without quotes into the address bar, where Article_name is the name of the article you wish to navigate to.

Searchbox on your desktop

Description

Adds a Wikipedia search box to the Windows XP desktop. Note that this uses a feature of Windows XP that requires that Internet Explorer be installed.

Installation

  1. Open your favourite text editor, and paste the code into a new file.
  2. Save the file as an .html file (make sure the file extension is .html, not html.txt).
  3. Right-click on your desktop, and select "Properties".
  4. Click on the "Desktop" tab, then on the "Customize Desktop" button at the bottom.
  5. Click on the "Web" tab, then on the "New" button on the right side.
  6. Click "Browse" to find your file, and then "ok" after selecting it.
  7. "Click "OK" in all the related open windows to save your changes.
  8. A small box will be added to your desktop with the search box.

Code

<html>
  <body style=margin:0;overflow:hidden>
    <form action=http://en.wikipedia.org/wiki/Special:Search>
      <input
        style=position:absolute;width:1;height:1
        type=submit
        value=Go />
      <input
        style="position:absolute;width:100%;height:20;
        background:white url(wikisearch.bmp) no-repeat fixed top right;
        border:1 solid gray"
        name=search
        type=text />
    </form>
  </body>
</html>

Usage

Simply enter the search terms into the search box and press enter.

Mozilla Firefox

Most programs for Mozilla Firefox should also work for the Mozilla and SeaMonkey browser series.

Greasemonkey user scripts

For Greasemonkey user scripts, see Greasemonkey scripts.

Comfortable editing functions

Description

A script that adds extended editing functions to the Wikipedia edit pages. Features include regular expression search and replace, server-independent Show preview and Show changes, one-click fixing of common mistakes, and undo/redo. Works for Mozilla Firefox, Mozilla, and Mozilla SeaMonkey browsers. See User:Cacycle/editor for a feature list and a screenshot.

Instructions

Add a code snippet from User:Cacycle/editor to your User:YourUsername/monobook.js page.

URL shortcut

Description

Allows the user to go to a Wikipedia article from the Mozilla or Firefox address bar by typing "wp Article_Name".

Instructions

  1. In later versions of Mozilla, you can add keyword searches more easily by right-clicking on the search field of the required site and selecting "Add a Keyword for this Search" in the resulting pop-up context menu.
  2. Add a bookmark for Wikipedia.
  3. Right-click on the bookmark and open its properties.
  4. Change the address to "http://en.wikipedia.org/wiki/%s" without quotes (change 'en' to the desired language code, if not english).
  5. In the keyword field, type "wp" without quotes.

Alternate Instructions (using Google search):

  1. Add a bookmark for Wikipedia.
  2. Right-click on the bookmark and open its properties.
  3. Change the address to "http://www.google.com/search?q=site:en.wikipedia.org+%s"
  4. Without quotes (change 'en' to the desired language code, if not english).
  5. In the keyword field, type "wp" without quotes.

Usage

Simply type "wp Article_name" without quotes into the address bar, where Article_name is the name of the article you wish to navigate to. For example, try any of the following: wp Disney, wp Donald Trump, wp WP:RFC.

Plugin: Highlight searching

Description

Allows the user to highlight a word or phrase on a webpage and search it on Wikipedia and Wiktionary through a right-click menu.

Installation instructions:

  1. Navigate to the download page for the Merriam-Webster "Firefox Popup" plugin.
  2. Follow the instructions on the page to install the plugin.
  3. In Firefox, click Tools/extensions on the menu bar.
  4. Highlight the Firefox Popup plugin, and click the 'options button'.
  5. Add the entries (see code below) in ther options box:

Code:

See "Instructions" above.
Wikipedia
 Wikipedia Search for "$"
 W
 http://en.wikipedia.org/wiki/Special:Search?search=$&fulltext=Search
wiktionary
 wiktionary Search for "$"
 w
 http://en.wiktionary.org/wiki/Special:Search?search=$&fulltext=Search

Usage

Highlight a word or phrase on a webpage, right-click, and select Wikipedia Search for "example" or Wiktionary Search for "example".

Extension: Document Map

Description

Adds a sidebar (hidden when not activated) which shows a hiarchical list of headings on a page.

Installation:#Navigate to the extension's download page.

  1. Click the "Install" link for Document Map.
  2. A yellow bar should appear under your toolbars.
  3. Click the "Edit options" button on the yellow bar.
  4. In the box that pops up, click "allow" to let you install content from that site.
  5. Click the "Install" link again to pop up an extension installation box.
  6. Wait a few moments until the "Install now" button becomes clickable, and click it to automatically install.
  7. The plugin will be installed the next time you start your browser (it must be closed to finished installing).

Usage

In Firefox, activate the sidebar through the menu bar (View >> Document Map). Click on a heading in the list to scroll to that heading on the page.
Caution: the default shortcut ([ALT+O]) to show and hide the Document Map is the same shortcut used by Wikipedia to log out. Pressing [ALT+O] with a Wikipedia page open will log you out, but have no effect on the Document Map.

Extension: Wikipedia toolbar

File:Wikipedia Toolbar for Firefox.png
Wikipedia Toolbar for Firefox

Description

The Wikipedia extension makes editing of Wikipedia pages in Mozilla or Firefox easier by adding a new toolbar to your browser and by providing new menu items in the context menu.* See http://wikipedia.mozdev.org/

Sidebar: Common templates

Description

This Wikibar is a simple HTML page with the most common templates regular Wikipedia users may need: Welcome messages, Test > Vandalism, Blanking > Vandalism, Spam > Vandalism, speedy delete templates, AfD templates and, most importantly, the two most common Barnstars for congratulating and thanking fellow Wikipedians.

Instructions

Copy the text from this page into Textedit or Notepad and save it as "wikibar.htm" or the like. Then open that file in Firefox, bookmark it and select the option "open in sidebar". Open the bookmark when you open Wikipedia and you can copy and paste the tags you need most often into the page you're working on without hunting in Wikipedia:Templates.

Usage

Once installed as above, you can highlight then copy and paste the most common template messages directly into articles and talk pages without searching through Templates, relying on memory or using javascript add-ons. All appropriate templates are subst: so your server footprint is always low.

Licence

This Wikibar idea is cheap and nasty and basically for my own convenience. Therefore it is completely free of any copyrights whatsoever and is totally Open Source. You are encouraged to update the original, produce your own versions and generally distribute and modify as you wish. I don't care!

Search within Textarea Extension

Description

This extension will allow Firefox users to search within the textarea when editing articles.

Installation

Install from here. You may need to add bugzilla as an allowed website.

Usage

The textarea needs to be focused (the cursor needs to be on it) and then press Ctrl+F for the Find Dialog to appear.

Update

This is now a bookmarklet found here

Search across multiple languages

For multilingual searching, see the LuMriX Firefox Search Plugin and Wikipedia:Search#LuMriX.

Mozilla and SeaMonkey Browser

Most programs for Mozilla Firefox should also work for the Mozilla and SeaMonkey browser series, see under #Mozilla Firefox.

Extension: Wikipedia toolbar

File:Wikipedia Toolbar for Firefox.png
Wikipedia Toolbar for Firefox

Note:

Search toolbar

Description

Adds Wikipedia search to the Firefox search box at the top-right hand corner of the screen.

Instructions

  1. Visit the official Wikipedia search plugins page.
  2. Click "Wikipedia (EN)".
  3. Click OK to install the search plugin.

Usage

Type some words in the search box in the top right corner of your Firefox window. Click the letter "G" Google logo and select the Wikipedia search instead. Press Enter to search.

URL shortcut

Note:

Konqueror

URL shortcuts

Description

Allows the user to go to a Wikipedia article from the Konqueror address bar by typing "wp:Article_Name".

Instructions

  1. From the toolbar, go to Settings/Advanced Browsing/Add.
  2. Enter the Search-URI "http://en.wikipedia.org/wiki/\{@}".
  3. Specify "wp" as the keyword.

Usage

Simply type "wp:Article_name" without quotes into the address bar, where Article_name is the name of the article you wish to navigate to. For example, try any of the following: wp Disney, wp Donald Trump, wp WP:RFC.

Opera

URL shortcuts

Description

Allows the user to go to a Wikipedia article from the Opera address bar by typing "wp Article_Name".

Instructions

  1. Find for search.ini in your Opera or profile directory.
    • Note: Try searching "search.ini" in Windows' Search or Macintosh's Spotlight.
  2. To define the english wikipedia as a search engine, add the code to the search.ini file:
  3. Note: the number section title ([Search Engine 43]) must be unique, and the numbers should be continuous. That is, use the next free number there, not necessarily 43. You can delete any preceeding search engines in search.ini that you do not want.
  4. Note: Also beware of key conflicts -- if you assign the same key to two search engines, only the first one will work.
  5. Note: this file may be overwritten by a default search file if you upgrade to later versions of the browser, so make sure to back it up if you don't want to add these lines to search.ini again.

Alternate Instructions (Google):

  1. Use the second block of code below with the above instructions.

Code

See "Instructions" above. This is for the Wikipedia search.
[Search Engine 43]
Name=Wikipedia (english)
URL=http://en.wikipedia.org/w/index.php?search=%s&go=Go
Query=
Key=wp
Is post=0
Has endseparator=0
Encoding=UTF-8
Search Type=124
See "Instructions" above. This is for the Google Wikipedia search.
 [Search Engine 43]
 Name=&Wikipedia
 URL=http://www.google.com/search?q=%s+site:en.wikipedia.org
 Query=
 Key=wp
 Is post=0
 Has endseparator=0
 Encoding=utf-8
 Search Type=0
 Verbtext=17063
 Position=-1
 Nameid=0

Usage

Simply type "wp Article_name" into the address bar without quotes, where Article_name is the name of the article you wish to navigate to.

ICab

URL shortcut

Description

Allows the user to go to a Wikipedia article from the iCab address bar by typing "wp Article_Name".

Instructions:

  1. Open the settings dialogue.
  2. Go to the Search sections tab.
  3. Enter the URL "http://en.wikipedia.org/wiki/" as a search engine.
  4. Specify "wp" as the key.

Usage

Simply type "wp Article_name" into the address bar without quotes, where Article_name is the name of the article you wish to navigate to.

OmniWeb

URL Shortcut

Description

Allows the user to go to a Wikipedia article from the OmniWeb address bar by typing "wp Article_Name".

Instructions:

  1. From the toolbar, go to Preferences/Shortcut Preferences.
  2. Enter "wp" (without quotes) as the shortcut.
  3. Enter "http://en.wikipedia.org/wiki/%@" (without quotes) as the Destination URL.

Usage

Simply type "wp Article_name" into the address bar without quotes, where Article_name is the name of the article you wish to navigate to.

Lynx

[Unix] Wikipedia in the shell

Description

Allows users show a Wikipedia article in the shell using Lynx. Note that these instructions are for Unix operating systems.

Instructions

  1. Using the code from the appropriate box under Code...
    • Bash and ksh users, place it in ~/.bashrc.
    • Csh users, place it in ~/.cshrc.
    • Tcsh users, place it in ~/.tcshrc.

Code

See Instructions above. This is for bash and ksh users.
function wp { lynx -dump en.wikipedia.org/wiki/"$*" | less; }
See Instructions above. This is for csh and tcsh users.
alias wp "lynx -dump en.wikipedia.org/wiki/\!* | less"

Speech Synthesis

Description Allows users to have the page read out loud to them using Lynx. Note that these instructions are for the Unix operating systems.

Instructions

  1. Using the code from the appropriate box under Code...
    • Bash users, modify and place it in ~/.bashrc.
    • Ksh users, modify and place it in ~/.profile.
    • Csh users, modify and place it in ~/.cshrc.
    • Tcsh users, modify and place it in ~/.tcshrc.

Code

See Instructions above. This is for bash and ksh users.
function wp2a { lynx -dump en.wikipedia.org/wiki/"$*" | txt2pho
| mbrola -t 0.7 /usr/local/mbrola/de3/de3 - - | bplay -s 22050 -b 16; }
See Instructions above. This is for csh and tcsh users.
alias wp2a "lynx -dump en.wikipedia.org/wiki/"$*" | txt2pho
| mbrola -t 0.7 /usr/local/mbrola/de3/de3 - - | bplay -s 22050 -b 16;"