Wikipedia:Tools/Browser integration
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 dependancy.
Cross-browser
Note: this category covers tools that are compatible with all major browsers.
Various javascript tools
- Wikipedia:Scripts and Wikipedia:WikiProject User scripts for more
- Wikipedia:Tools/Navigation popups (Add javascript to your Wikipedia preferences for enhanced browsing and editing)
- Zocky's Picture Popups
- User:Omegatron's tools: User:Omegatron#Tools. Javascript for adding unwatch links to the regular watchlist, fixing units and dashes. Info about electric circuit diagrams and Spellbound spell-checking extension.
- I've created a monobook.js script for adding additional links to User:Ævar Arnfjörð Bjarmason's extraordinary new Special:Log/newusers page: User:Func/wpfunc/nupatrol.js. You can discuss the script on its talk page. Func( t, c, @, ) 21:24, 14 September 2005 (UTC)
- Javascript for duplicating editing tabs at the bottom
- User:JesseW's collection of useful tools. - Lacking documentation(it's just my monobook.js) but contains a lot of useful tools, mostly cribbed from others, but some written by me. 10:20, 29 July 2005 (UTC)
Customize the Wikipedia layout
Description
- Allows the user to customize the Wikipedia skin using stylesheets.
Instructions
- Please see m:Help:User_style.
Specialised bookmarklets
These bookmarks perform specific actions on the article targetted.
Open top 10 comparison links
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
- Go to the history page of the article.
- Click on "500" to display the last 500 modifications of the page.
- Make sure that your browser allows pop-ups on this page.
- Copy & paste the code into the address bar of your browser.
- Confirm your entry by pressing the "Enter" key.
- 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.
Make all links go directly to History
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.
Make all links go directly to Edit page
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.
See also
- To allow one to go directly to the edit page of a right-clicked link (without running the bookmarklet, see this script (requires Firefox and a ContextMenu extension)
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
- Navigate to Wikipedia Lookup in the desired browser.
- Right-click the desired link and select "add to bookmarks" (or similar).
- 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.
Microsoft Internet Explorer
Search toolbar
Description
- Places a Wikipedia searchbox beside Internet Explorer's address bar.
Instructions
- Download the addon from its download page.
- Double-click the downloaded setup file and follow the on-screen instructions.
- 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.
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
- Open a new text file in your favourite text editor.
- Copy and paste the code into it exactly as written.
- Save the text file as "
wiki.reg
" (make sure it's filename extension is ".reg
", not ".reg.txt
"). - Note: Windows 98 users and others using version 4 of the Registry Editor must instead input the 1st line as "
REGEDIT4
", without the quotes. - Double-click on the file you just saved to add the information to the Windows registry.
- 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
- Open your favourite text editor, and paste the code into a new file.
- Save the file as an .html file (make sure the file extension is .html, not html.txt).
- Right-click on your desktop, and select "Properties".
- Click on the "Desktop" tab, then on the "Customize Desktop" button at the bottom.
- Click on the "Web" tab, then on the "New" button on the right side.
- Click "Browse" to find your file, and then "ok" after selecting it.
- "Click "OK" in all the related open windows to save your changes.
- 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
Greasemonkey user scripts
For Greasemonkey user scripts, see Greasemonkey scripts.
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
- 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.
- Add a bookmark for Wikipedia.
- Right-click on the bookmark and open its properties.
- Change the address to "http://en.wikipedia.org/wiki/%s" without quotes (change 'en' to the desired language code, if not english).
- In the keyword field, type "wp" without quotes.
Alternate Instructions (using Google search):
- Add a bookmark for Wikipedia.
- Right-click on the bookmark and open its properties.
- Change the address to "http://www.google.com/search?q=site:en.wikipedia.org+%s"
- without quotes (change 'en' to the desired language code, if not english).
- 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:
- Navigate to the download page for the Merriam-Webster "Firefox Popup" plugin.
- Follow the instructions on the page to install the plugin.
- In Firefox, click Tools/extensions on the menu bar.
- Highlight the Firefox Popup plugin, and click the 'options button'.
- 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.
- Click the "Install" link for Document Map.
- A yellow bar should appear under your toolbars.
- Click the "Edit options" button on the yellow bar.
- In the box that pops up, click "allow" to let you install content from that site.
- Click the "Install" link again to pop up an extension installation box.
- Wait a few moments until the "Install now" button becomes clickable, and click it to automatically install.
- 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
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.
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.
Search across multiple languages
For multilingual searching, see the LuMriX Firefox Search Plugin and Wikipedia:Search#LuMriX.
Mozilla Browser
Extension: Wikipedia toolbar
Note:
- Please see "Extension: Wikipedia toolbar" under #Mozilla Firefox.
Search toolbar
Description
- Adds Wikipedia search the native Mozilla search box.
Instructions
- Navigate to the Wikipedia plugins listing on the Mozilla website.
- Click the language Wikipedia you wish to add (you can add several).
- Follow the on-screen instructions.
Usage
- Type the search terms in the search box in the top right corner of a Mozilla browser window. Select the Wikipedia search and press the search button.
URL shortcut
Note:
- Please see "URL shortcut" under #Mozilla Firefox.
Konqueror
URL shortcuts
Description
- Allows the user to go to a Wikipedia article from the Konqueror address bar by typing "wp:Article_Name".
Instructions
- From the toolbar, go to Settings/Advanced Browsing/Add.
- Enter the Search-URI "http://en.wikipedia.org/wiki/\{@}".
- 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
- Find for
search.ini
in your Opera or profile directory.- Note: Try searching "search.ini" in Windows' Search or Macintosh's Spotlight.
- To define the english wikipedia as a search engine, add the code to the search.ini file:
- 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.
- Note: Also beware of key conflicts -- if you assign the same key to two search engines, only the first one will work.
- 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):
- 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/wiki.phtml?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:
- Open the settings dialogue.
- Go to the Search sections tab.
- Enter the URL "http://en.wikipedia.org/wiki/" as a search engine.
- 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:
- From the toolbar, go to Preferences/Shortcut Preferences.
- Enter "wp" (without quotes) as the shortcut.
- 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
- Using the code from the appropriate box under Code...
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
- Using the code from the appropriate box under Code...
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;"