From TheBestLinks.com
A collection of web and software extensions to make your Wikipedia experience faster, better, and brighter. More detail is available from the German version of this page; please help translate it by following the interlanguage link in the sidebar.
Browser Integration
Bookmarklets
Search Wikipedia from a Bookmarklet
The following bookmarklets allow you to search for a term in Wikipedia just by selecting a word on any web page and then clicking the bookmark. If you do not select anything, you are prompted for a search term. The scripts are designed for Mozilla and other browsers that support bookmarklets in Javascript.
There are two alternate scripts that provide this functionality (note, both apply to the English Wikipedia, edit as appropriate):
javascript:s=document.getSelection();for(i=0;i<frames.length;i++)
{if(s)break;s=frames[i].document.getSelection();}
if(!s)void(s=prompt('Please enter a search term
or mark a word on a website before clicking this link.',''));
if(s){wikiw=open('http://en.wikipedia.org/'+(s?'w/wiki.phtml?search='+escape(s):''));
wikiw.focus();}
or, alternatively, a script provided by Jimmy Wales:
javascript:q=document.getSelection();
for(i=0;i<frames.length;i++)
{q=frames[i].document.getSelection()
;if(q)break;}
if(!q)void(q=prompt('Enter search term ',''));
if(q)location.href='http://en.wikipedia.org/w/wiki.phtml?search='+escape(q)
Highlight Words
A bookmarklet for highlighting words and phrases on Wikipedia pages. It is designed for Mozilla and other browsers that support bookmarklets in Javascript:
javascript:(function(){var count=0, text, dv;text=prompt(%22Search phrase:%22, %22%22);
if(text==null || text.length==0)return;
dv=document.defaultView;function searchWithinNode(node, te, len){var pos, skip, spannode, middlebit, endbit, middleclone;skip=0;
if( node.nodeType==3 ){pos=node.data.toUpperCase().indexOf(te);
if(pos>=0){spannode=document.createElement(%22SPAN%22);
spannode.style.backgroundColor=%22yellow%22;middlebit=node.splitText(pos);
endbit=middlebit.splitText(len);
middleclone=middlebit.cloneNode(true);spannode.appendChild(middleclone);
middlebit.parentNode.replaceChild(spannode,middlebit);++count;skip=1;}}
else if( node.nodeType==1&& node.childNodes && node.tagName.toUpperCase()!=%22SCRIPT%22 && node.tagName.toUpperCase!=%22STYLE%22)
{for (var child=0; child < node.childNodes.length;++child)
{child=child+searchWithinNode(node.childNodes[child], te, len);}}return skip;}
window.status=%22Searching for '%22+text+%22'...%22;searchWithinNode(document.body, text.toUpperCase(),
text.length);
window.status=%22Found %22+count+%22 occurrence%22+(count==1?%22%22:%22s%22)+%22 of '%22+text+%22'.%22;})();
Search Plugin for Mozilla & Co
To be able to use the search box at the top right in a Mozilla browser to search the Wikipedia, use the extension provided at http://mycroft.mozdev.org/quick/wikipedia.html. This alows searching Wikipedia conveniently by simulating the "Search" button (not the "Go" button).
Browser Keywords
Mozilla & Co
In Mozilla, you can define keywords or shortcuts to websites: You just need to create a bookmark of the form "http://en.wikipedia.org/wiki/%s", and then specify a keyword like "wp" (or "wiki" or what you like) for that bookmark. To search for "fnord", you may then simply type "wp fnord", into the addressbar. The "%s" is used as a placeholder for whatever you enter in the addressbar after the keyword.
Here are a few examples:
But you may use whatever keywords you like.
Use Settings/Advanced Browsing/Add to enter the Search-URI "http://en.wikipedia.org/wiki/\{@}" and specify "wp" (or "wikipedia", or whatever you like) as the keyword. You may then search for articles in the Wikipedia simply by entering "wp:whatever" into the address bar.
Since version 6 Opera features a search field, which allows you the query different search engines. Using a special prefix, search from the addressbar is also possible. Sor example, Opera is by default set up to perform a google search for "Wikipedia" when you type "g Wikipedia" into the addressbar.
You can define new search engines yourself, for example the Wikipedia: to do that, you have to edit the global configuration file search.ini in the Opera directory, or the same file in your profile directory, respectively. The files can be edited with any text editor and the syntax is quite simple.
To define the english wikipedia as a search engine, add the following to the search.ini file:
[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
The Name and Key attributes can be choosen freely. Note that 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 neccessarily 43.
The same can easily be done for other wikipedias, or the wiktionary, by adjusting the URL accordingly.
In the Search sections of the settings dialog, you may enter the URL "http://en.wikipedia.org/wiki/" as a search engine, and specify "wp" as the key. You may then look for Wikipedia articles just by typing "wp whatever" into the addressbar.
Under Preferences/Shortcut Preferences, enter "wp" as the shortcut and "http://en.wikipedia.org/wiki/%@" as the Destination URL. You may then look for Wikipedia articles just by typing "wp whatever" into the address bar.
Show Articles on the Shell
To show a Wikipedia article in the shell (using Lynx), use the following setup:
- bash and ksh users: put the following into ~/.bashrc:
function wp { lynx -dump en.wikipedia.org/wiki/"$*" | less; }
- csh and tcsh users: put the following into ~/.cshrc or ~/.tcshrc respectively:
alias wp "lynx -dump en.wikipedia.org/wiki/\!* | less"
Speech Synthesis
You may also use speech synthesis so the page is read out loud:
- bash and ksh users: modify and put the following into ~/.bashrc or ~/.profile respectively:
function wp2a { lynx -dump en.wikipedia.org/wiki/"$*" | txt2pho | mbrola -t 0.7 /usr/local/mbrola/de3/de3 - - | bplay -s 22050 -b 16; }
- csh and tcsh users: modify and put the following into ~/.cshrc or ~/.tcshrc respectively:
alias wp2a "lynx -dump en.wikipedia.org/wiki/"$*" | txt2pho | mbrola -t 0.7 /usr/local/mbrola/de3/de3 - - | bplay -s 22050 -b 16;"
WAP-Browser
There is an experimental WAP-gateway for the wikipedia that allowes you to browse articles with your cell phone or a PDA. You may try the developers version of the gateway at http://w.lucem.de, but beware the bugs! Development is currently managed by de:Blaubär.
An alternate WAP-gateway exists at http://wapedia.de/. This, too, is still under development and my contain bugs, but it seems to work for the most part.
More Tools
Help with editing
List Generator
The Wikipedia List Generator (page in german!) allows you to generate alphabetically sorted lists of wikipedia articles. Disambiguation pages are marked as such. (by de:JakobVoss)
Importing Tables
The CSV to Wikipedia converter (http://area23.brightbyte.de/csv2wp.php) allows you to convert tables in CSV format into the Wikimedia syntax for tables (or to HTML, if you prefer). This way you can import tables directly from spreadsheet applications like Excel or from databases. For more information, see de:Benutzer:Duesentrieb/csv2wp (en). (by de:Duesentrieb).
Importing HTML
An online interface for converting plain HTML to MediaWiki syntax is available at http://diberri.dyndns.org/html2wiki.html. It is based on the Perl module HTML::WikiConverter which performs html→wiki conversion and is available on CPAN. (by en:Diberri)
Another HTML to Wiki converter is available online at http://www.dwheeler.com/html2wikipedia/
Spell Checkers
A well-designed spell checker for Internet Explorer is ieSpell (http://iespell.com/).
For Mozilla Firefox textboxes, there's SpellBound (http://spellbound.sourceforge.net).
Timelines
For a tool to create nice graphical timelines, see meta:Wikipedia Project Time Charts and the Easy Timeline Homepage (http://members.chello.nl/epzachte/Wikipedia/EasyTimeline/Introduction.htm). (by meta:Erik Zachte)
Support for External Editors
There are extensions for several text editors, including vim, Emacs, jEdit und Kate, that provide syntax highliting and more when working with wiki source. For details, see Wikipedia:Text editor support.
Advanced Edit-Box
IzGUI (page in german) by de:PeerBr is a editor for wikipedia written in javaScript, similar to the edit-box and toolbar provided by the MediaWiki software. It features buttons for inserting templates, date-formating, etc. Also, it allows to select categories from a hierarchy. 'Note: this tool is currently designed with the german Wikipedia. It needs to be adjusted for working with other Wikipedias.
See meta:WYSIWYG editor
Shortcuts for inserting Wikilinks
(to be translated)
Geodata
(to be translated)
Chemistry
(to be translated)
Other tools
- Automated copyright check (to be translated)
- Python for ACL (to be translated)
- Wikipedia for the Blind (to be translated)
- Export Tools (to be translated)
- Link-Checker (to be translated)
- Conversion to PDF: see Wikipedia:Wiki → PDF
- Several scripts for dealing with Unicode, the IRC channel, etc: Wikipedia:Scripts
Weblinks
de:Wikipedia:Helferlein
it:Wikipedia:Utilities
Related links
Top visited
0 of
0 links
[no links posted yet]
>> place link >>
Discussion
Last posted
0 of
0 messages
[no messages posted yet]
>> post message >>
Watch
You can
add this article to your own "watchlist" and receive e-mail notification about all changes in this page.