Wikipedia:Tip of the day/August 7, 2007

How to provide a link to a specific Google Search

Especially on talk pages, and sometimes in External link sections, links to Google searches can be useful. The Wikimedia software that powers Wikipedia lets you make links to Google by including google: as the prefix for the link, like this:

[[google:Tipster]].

Which looks like this:

google:Tipster

Note: It is important not to use spaces in the search. To add more parameters to the search, separate them by a plus sign, +. For a phrase search, use a hyphen (minus sign), -, between each word. E.g. to search for "Tip of the day", use Tip-of-the-day.

To provide a link to a Wikipedia-specific search, include in the google-link +site:en.wikipedia.org (no spaces before or after), like this:

[[google:Tip-of-the-day+site:en.wikipedia.org]].

Which looks like this:

google:Tip-of-the-day+site:en.wikipedia.org

To clean up the link so that only the part you want to show is presented, use the pipe, like this:

[[google:Tipster+site:en.wikipedia.org|"Tip of the day"]]

Which makes it look like this:

"Tip of the day"

Prior tip - Next tip