手册:opensearch_desc.php

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:Opensearch desc.php and the translation is 80% complete.

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎polski • ‎português do Brasil • ‎中文 • ‎日本語

描述

Returns an OpenSearch description document (see http://www.opensearch.org/) that points to the search engines of the wiki.

从1.13版本开始,您可以使用钩子OpenSearchUrls来改变由该脚本展现的URL。


例如: http://www.mediawiki.org/w/opensearch_desc.php