MediaWiki/Search: Difference between revisions

m added Category:Wiki using HotCat
No edit summary
Line 1: Line 1:
== Interwiki ==
== Interwiki ==
{{Messagebox
| type = success
| text = You can search all linked wikis '''directly''' from the search box.  Just enter the [{{fullurl:Special:Interwiki}} interwiki prefix], followed by a colon.  <code><nowiki>wp: roses</nowiki></code> searches WikiPedia for "roses" and takes you there.
}}
MediaWiki has an [[Help:Links#Interwiki_links|interwiki prefix]] system that lets you search, or link to, external wiki content. And it doesn't have to be "wiki"; it just has to be structured.  So, because we have an entry for 'Google' in our interwiki table, you can link to Google results with [[Google:"Rail+Trail"+Paths+In+Salisbury+Massachusetts]].   
MediaWiki has an [[Help:Links#Interwiki_links|interwiki prefix]] system that lets you search, or link to, external wiki content. And it doesn't have to be "wiki"; it just has to be structured.  So, because we have an entry for 'Google' in our interwiki table, you can link to Google results with [[Google:"Rail+Trail"+Paths+In+Salisbury+Massachusetts]].   


And you can '''search Google''' directly from the search bar of this wiki:  Just enter the "shortcode" (Google), followed by a colon (:), and your search query.  This works for ALL interwiki prefixes.  So, to search Wikipedia for "''roses''", just enter '<code>w:roses</code>' in the search bar.
And you can '''search Google''' directly from the search bar of this wiki:  Just enter the "shortcode" (Google), followed by a colon (:), and your search query.  This works for [[Special:Interwiki|ALL interwiki prefixes]].  So, to search Wikipedia for "''roses''", just enter '<code>w:roses</code>' in the search bar.


== Templates ==
== Templates ==