Difference between revisions of "MediaWiki/Search"
m (added Category:Search using HotCat) |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
== Interwiki == | == Interwiki == | ||
− | |||
− | |||
− | |||
− | |||
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 | + | 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. |
== Templates == | == Templates == | ||
Templates are useful for linking other search engines. See [[Help:External_searches]] for example. You can create a template that makes it convenient for editors to post links to search or database query results in the wiki. | Templates are useful for linking other search engines. See [[Help:External_searches]] for example. You can create a template that makes it convenient for editors to post links to search or database query results in the wiki. | ||
− | == | + | == Application (Internal) Native Search == |
− | + | The default search system for MediaWiki is based on [[MySQL]] database technology; and is not the most powerful search engine. To make it better, use the [[ElasticSearch]] system instead. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | The default search system for MediaWiki is based on [[MySQL]] database technology; and is not the most powerful search engine. To make it better, use the [[ElasticSearch]] system instead. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Search]] | [[Category:Search]] | ||
− |
Revision as of 15:01, 16 February 2016
Interwiki[edit | edit source]
MediaWiki has an 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 'w:roses
' in the search bar.
Templates[edit | edit source]
Templates are useful for linking other search engines. See Help:External_searches for example. You can create a template that makes it convenient for editors to post links to search or database query results in the wiki.
Application (Internal) Native Search[edit | edit source]
The default search system for MediaWiki is based on MySQL database technology; and is not the most powerful search engine. To make it better, use the Elasticsearch system instead.