To make use of this you need to set your default search to this:

http://www.qdk.org/pmwiki/index.php?n=Main.DTRT&action=dtrt&q=

For instructions on setting up your browser you can look here:

http://www.pmwiki.org/wiki/Cookbook/DoTheRightThing#browser_config

A snapshot of a subset of those browser instructions as of 8/8/2015

  • Mozilla Firefox version 23 or newer : on your DTRT wiki page, pull down the arrow on your browser's search field and select "Add DTRT for this page". (After, you can hide the search field and type your search directly in the location field.)
  • Mozilla, Firefox (versions up to 22) : type in the address bar "about:config", double-click on the line keyword.URL and replace the default url with your custom address.
  • Chromium, Google Chrome : Wrench - Settings -or- Preferences - Default search Manage - Add. In the box select a name ("DTRT"), pick a keyword ("d"), entrer your custom address followed by "%s" like "...?action=dtrt&q=%s", press "Save", then press "Make Default".
  • MS Internet Explorer 8 : When you visit your DTRT page, in the program interface at the top right, press the arrow after the search field, click on "Add search provider - DTRT for this page". In the dialog box you may check "Make default" and press "Add".
  • Opera : Settings - Preferences - Search - Add. In the box select a name ("DTRT"), pick a keyword ("d"), entrer your custom address followed by "%s" like "...?action=dtrt&q=%s", check the two checkboxes about a default search engine.

To see it in action, try typing something here in this form -- treat this just as you would your address bar in your browser:

/^(utc|albania|tiran.|cet|cest|meeting|date|time|datetime|turkey|trt|istanbul|ankara|erbil|iraq|ast|kurdistan|richardson|dallas|central|c[ds]t|california|west|westcoast|p[ds]t|richmond|newyork|east|eastcoast|e[ds]t)$/: function:datetime
gi:                      http://images.google.com/images?q=$1 : Google images
f:                       https://www.facebook.com/search/results.php?q=$1 : Facebook SEARCH
fb:                      http://www.facebook.com : Facebook
fm:                      http://freshmeat.net/search/?section=projects&q=$1 : Freshmeat (software)
imdb:                    http://www.imdb.com/find?s=all&q=$1 : search IMDB for movies
/^maps?$/:                http://www.google.com/maps?q=$1 : Search Google Maps
php:                     http://php.net/search.php?lang=en&show=quickref&pattern=$1 : PHP manual
/^p(?:m(?:wiki)?)?$/:      http://www.google.com/search?q=site%3Apmwiki.org+$1 : PmWiki search
pmc,cookbook:            http://www.pmwiki.org/wiki/Cookbook/$1 : Cookbook recipe
pmw:                     http://www.pmwiki.org/wiki/PmWiki/$1 : PmWiki page
play:                    https://play.google.com/store/search?q=$1 : Search Google Play
#pm:                      http://www.pmwiki.org/wiki/?action=search&q=$1 : search PmWiki.org
/^spot(?:light)?$|^movie$/:   http://christiananswers.net/cgi-bin/search/search.cgi?zoom_query=$1&zoom_per_page=50&zoom_cat[]=1&zoom_and=1&zoom_sort=0 : Search Xn Spotlight for Movies
/^th(?:es)?$/:                 http://thesaurus.com/browse/$1 : Search a thesaurus
ar:                      http://allrecipes.com/Search/Recipes.aspx?WithTerm=$1 : search AllRecipes
bbc:                     http://www.bbc.co.uk/search/news/$1 : search BBC News
fox:                     http://www.foxnews.com/search-results/search?q=$1&submit=Search : search FoxNews
dtrt:                    {$ScriptUrl}?n=Main.DTRT?action=edit : test : Edit this page
test:                    {$ScriptUrl}?n=Main.Test : Show a test page whether DTRT is activated
y,you,youtube:           http://www.youtube.com/results?search_query=$1&aq=f
tz,time,timezone:        https://www.wolframalpha.com/input/?i=$1
e,ebay:                  http://shop.ebay.com/?_from=R40&_trksid=p5197.m570.l1313&_sacat=See-All-Categories&_nkw=$1 : search ebay
a,am,amazon:             http://smile.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&x=0&y=0&field-keywords=$1 : search Amazon
alb2eng,sq2en,s2e:       http://translate.google.com/#sq|en|$1 : translate shqip-->Eng
eng2alb,en2sq,e2s:       http://translate.google.com/#en|sq|$1 : translate Eng->Alb
u2a,d2a,u2l,d2l,usd,usd2all: http://www.xe.com/ucc/convert.cgi?Amount=$1&From=USD&To=ALL : Convert USD to ALL(leke)
a2u,l2u,a2d,l2d,leke,all2usd: http://www.xe.com/ucc/convert.cgi?Amount=$1&From=ALL&To=USD : Convert ALL(leke) to USD
e2u,e2d,eur2usd:         http://www.xe.com/ucc/convert.cgi?Amount=$1&From=EUR&To=USD : Convert EURO to USD
u2e,d2e,usd2eur:         http://www.xe.com/ucc/convert.cgi?Amount=$1&From=USD&To=EUR : Convert USD to EURO
e2a,e2l,eur2all:        http://www.xe.com/ucc/convert.cgi?Amount=$1&From=EUR&To=ALL : Convert EURO to ALL(leke)
a2e,l2e,all2eur:         http://www.xe.com/ucc/convert.cgi?Amount=$1&From=ALL&To=EUR : Convert ALL(leke) to EURO
g2u,p2u,g2d,p2d,gbp2usd: http://www.xe.com/ucc/convert.cgi?Amount=$1&From=GBP&To=USD : Convert GBP to USD
g2a,p2a,g2l,p2l,gbp2all: http://www.xe.com/ucc/convert.cgi?Amount=$1&From=GBP&To=ALL : Convert GBP to ALL(leke)
ex,exch,exchange,curr,currency: http://gdqschool.org/purchasedev/currencyRates/exchangeq/$1
/^(ex(?:ch(?:ange)?)?|curr(?:ency)?)help$/: http://www.qdk.org/pmwiki/index.php?n=Main.ExchangeHelp
bible,sbible,searchbible: http://www.biblegateway.com/keyword/?search=$1&version1=102&version2=49&version3=9&version4=47&searchtype=all : Search several versions (NIV, NASB, Message, KJV)
niv,NIV:                 http://www.biblegateway.com/keyword/?search=$1&version1=102&searchtype=all : Search NIV
nasb,NASB:               http://www.biblegateway.com/keyword/?search=$1&version1=49&searchtype=all : Search NASB
kjv,KJV:                 http://www.biblegateway.com/keyword/?search=$1&version1=9&searchtype=all : Search KJV
esv,ESV:                 http://www.biblegateway.com/keyword/?search=$1&version1=47&searchtype=all : Search ESV
msg,MSG,message:         http://www.biblegateway.com/keyword/?search=$1&version1=65&searchtype=all : Search The Message
lim,LIM,alb,albbible:    http://www.biblegateway.com/keyword/?search=$1&version1=1&searchtype=all&language1=sq : Search LIM (Albanian Bible)
/^gen(esis)?$/:             http://www.biblegateway.com/keyword/?search=gen+$1&version1=102&searchtype=all : Search NIV
/^ex(o(dus)?)?$/:           http://www.biblegateway.com/keyword/?search=ex+$1&version1=102&searchtype=all : Search NIV
/^lev(iticus)?$/:           http://www.biblegateway.com/keyword/?search=lev+$1&version1=102&searchtype=all : Search NIV
/^nu(m(bers)?)?$/:          http://www.biblegateway.com/keyword/?search=numbers+$1&version1=102&searchtype=all : Search NIV
/^de(ut(eronomy)?)?$/:      http://www.biblegateway.com/keyword/?search=deut+$1&version1=102&searchtype=all : Search NIV
/^jos(h(ua)?)?$/:           http://www.biblegateway.com/keyword/?search=josh+$1&version1=102&searchtype=all : Search NIV
/^ju(dg(es)?)?$|jdg$/:      http://www.biblegateway.com/keyword/?search=judges+$1&version1=102&searchtype=all : Search NIV
/^ru(th?)?$/:               http://www.biblegateway.com/keyword/?search=ruth+$1&version1=102&searchtype=all : Search NIV
/^1s(a(m(uel)?)?)?$/:       http://www.biblegateway.com/keyword/?search=1sa+$1&version1=102&searchtype=all : Search NIV
/^2s(a(m(uel)?)?)?$/:       http://www.biblegateway.com/keyword/?search=2sa+$1&version1=102&searchtype=all : Search NIV
/^1k(i(n(gs?)?)?)?$/:       http://www.biblegateway.com/keyword/?search=1ki+$1&version1=102&searchtype=all : Search NIV
/^2k(i(n(gs?)?)?)?$/:       http://www.biblegateway.com/keyword/?search=2ki+$1&version1=102&searchtype=all : Search NIV
/^1ch(r(on(icles)?)?)?$/:   http://www.biblegateway.com/keyword/?search=1ch+$1&version1=102&searchtype=all : Search NIV
/^2ch(r(on(icles)?)?)?$/:   http://www.biblegateway.com/keyword/?search=2ch+$1&version1=102&searchtype=all : Search NIV
/^ezra?$/:                  http://www.biblegateway.com/keyword/?search=ezra+$1&version1=102&searchtype=all : Search NIV
/^ne(h(emiah)?)?$/:         http://www.biblegateway.com/keyword/?search=neh+$1&version1=102&searchtype=all : Search NIV
/^es(t(her)?)?$/:           http://www.biblegateway.com/keyword/?search=esther+$1&version1=102&searchtype=all : Search NIV
job:                        http://www.biblegateway.com/keyword/?search=job+$1&version1=102&searchtype=all : Search NIV
/^ps(a(lms?)?)?$/:          http://www.biblegateway.com/keyword/?search=ps+$1&version1=102&searchtype=all : Search NIV
/^pr(ov(erbs?)?)?$/:        http://www.biblegateway.com/keyword/?search=prov+$1&version1=102&searchtype=all : Search NIV
/^ecc(l(esiastes)?)?$/:     http://www.biblegateway.com/keyword/?search=eccl+$1&version1=102&searchtype=all : Search NIV
sos,song,songs:             http://www.biblegateway.com/keyword/?search=sos+$1&version1=102&searchtype=all : Search NIV
/^is(a(iah)?)?$/:           http://www.biblegateway.com/keyword/?search=isaiah+$1&version1=102&searchtype=all : Search NIV
/^jer(emiah)?$/:            http://www.biblegateway.com/keyword/?search=jer+$1&version1=102&searchtype=all : Search NIV
/^lam(entations?)?$/:       http://www.biblegateway.com/keyword/?search=lam+$1&version1=102&searchtype=all : Search NIV
/^ez(e(k(iel)?)?)?$/:       http://www.biblegateway.com/keyword/?search=ezek+$1&version1=102&searchtype=all : Search NIV
/^da(n(iel)?)?$/:           http://www.biblegateway.com/keyword/?search=dan+$1&version1=102&searchtype=all : Search NIV
/^ho(s(ea)?)?$/:            http://www.biblegateway.com/keyword/?search=hos+$1&version1=102&searchtype=all : Search NIV
joel:                       http://www.biblegateway.com/keyword/?search=joel+$1&version1=102&searchtype=all : Search NIV
/^am(os)?$/:                http://www.biblegateway.com/keyword/?search=amos+$1&version1=102&searchtype=all : Search NIV
/^ob(ad(iah?)?)?$/:         http://www.biblegateway.com/keyword/?search=obad+$1&version1=102&searchtype=all : Search NIV
/^jon(ah)?$/:               http://www.biblegateway.com/keyword/?search=jonah+$1&version1=102&searchtype=all : Search NIV
/^mi(c(ah?)?)?$/:           http://www.biblegateway.com/keyword/?search=micah+$1&version1=102&searchtype=all : Search NIV
/^na(h(um)?)?$/:            http://www.biblegateway.com/keyword/?search=nahum+$1&version1=102&searchtype=all : Search NIV
/^hab(b?akk?(uk)?)?$/:      http://www.biblegateway.com/keyword/?search=hab+$1&version1=102&searchtype=all : Search NIV
/^zeph(aniah?)?$/:          http://www.biblegateway.com/keyword/?search=zeph+$1&version1=102&searchtype=all : Search NIV
/^hagg?(ai)?$/:             http://www.biblegateway.com/keyword/?search=haggai+$1&version1=102&searchtype=all : Search NIV
/^z[ae]ch?(ariah?)?$/:      http://www.biblegateway.com/keyword/?search=zech+$1&version1=102&searchtype=all : Search NIV
/^mal(achi)?$/:             http://www.biblegateway.com/keyword/?search=mal+$1&version1=102&searchtype=all : Search NIV
/^mt$|^ma(tt?(hew)?)?$/:    http://www.biblegateway.com/keyword/?search=mat+$1&version1=102&searchtype=all : Search NIV
/^m(a?r)?k$/:               http://www.biblegateway.com/keyword/?search=mark+$1&version1=102&searchtype=all : Search NIV
/^l(u(ke?)?|k)$/:           http://www.biblegateway.com/keyword/?search=luke+$1&version1=102&searchtype=all : Search NIV
/^j(oh?)?n$/:               http://www.biblegateway.com/keyword/?search=john+$1&version1=102&searchtype=all : Search NIV
/^ac(ts?)?$/:               http://www.biblegateway.com/keyword/?search=acts+$1&version1=102&searchtype=all : Search NIV
/^ro(m(ans?)?)?$/:          http://www.biblegateway.com/keyword/?search=rom+$1&version1=102&searchtype=all : Search NIV
/^1co(r(inth(ians?)?)?)?$/: http://www.biblegateway.com/keyword/?search=1co+$1&version1=102&searchtype=all : Search NIV
/^2co(r(inth(ians?)?)?)?$/: http://www.biblegateway.com/keyword/?search=2co+$1&version1=102&searchtype=all : Search NIV
/^ga(l(atians?)?)?$/:       http://www.biblegateway.com/keyword/?search=gal+$1&version1=102&searchtype=all : Search NIV
/^ep(h(esians?)?)?$/:       http://www.biblegateway.com/keyword/?search=eph+$1&version1=102&searchtype=all : Search NIV
# Make sure you DON'T use php below - that is my normal search for the computer language php
/^ph(ill?(ipp?ians?)?)?$/:  http://www.biblegateway.com/keyword/?search=php+$1&version1=102&searchtype=all : Search NIV
/^co(ll?(oss?ians?)?)?$/:   http://www.biblegateway.com/keyword/?search=col+$1&version1=102&searchtype=all : Search NIV
1th,1thes:               http://www.biblegateway.com/keyword/?search=1thes+$1&version1=102&searchtype=all : Search NIV
2th,2thes:               http://www.biblegateway.com/keyword/?search=2thes+$1&version1=102&searchtype=all : Search NIV
1ti,1tim:                http://www.biblegateway.com/keyword/?search=1tim+$1&version1=102&searchtype=all : Search NIV
2ti,2tim:                http://www.biblegateway.com/keyword/?search=2tim+$1&version1=102&searchtype=all : Search NIV
ti,tit,titus:            http://www.biblegateway.com/keyword/?search=titus+$1&version1=102&searchtype=all : Search NIV
phm,philemon:            http://www.biblegateway.com/keyword/?search=phm+$1&version1=102&searchtype=all : Search NIV
heb,hebrews:             http://www.biblegateway.com/keyword/?search=heb+$1&version1=102&searchtype=all : Search NIV
jas,jam,james:           http://www.biblegateway.com/keyword/?search=james+$1&version1=102&searchtype=all : Search NIV
1p,1pet,1peter:          http://www.biblegateway.com/keyword/?search=1peter+$1&version1=102&searchtype=all : Search NIV
2p,2pet,2peter:          http://www.biblegateway.com/keyword/?search=2peter+$1&version1=102&searchtype=all : Search NIV
1jn,1john:               http://www.biblegateway.com/keyword/?search=1john+$1&version1=102&searchtype=all : Search NIV
2jn,2john:               http://www.biblegateway.com/keyword/?search=2john+$1&version1=102&searchtype=all : Search NIV
3jn,3john:               http://www.biblegateway.com/keyword/?search=3john+$1&version1=102&searchtype=all : Search NIV
ju,jud,jude:             http://www.biblegateway.com/keyword/?search=jude+$1&version1=102&searchtype=all : Search NIV
/^re(v(elations?)?)?$/:    http://www.biblegateway.com/keyword/?search=rev+$1&version1=102&searchtype=all : Search NIV

# NOTE: These below are probably not so helpful as they've been superseded by the more powerful/flexible versions above - these (below) are good because they are unambiguously reference lookups.  But I'm not seeing many cases where it's confusing between the search and the reference...
lniv,LNIV:               http://www.biblegateway.com/passage/?search=$1&version=NIV : Look up in NIV Bible
lnasb,LNASB:             http://www.biblegateway.com/passage/?search=$1&version=NASB : Look up in NASB Bible
lmessage,lmsg,LMSG:      http://www.biblegateway.com/passage/?search=$1&version=MSG : Look up in The Message Bible
lkjv,LKJV:               http://www.biblegateway.com/passage/?search=$1&version=KJV : Look up in KJV Bible
llim,LIM,lalb,lalbbible: http://www.biblegateway.com/passage/?search=$1&version=ALB : Look up in LIM (Albanian) Bible