Bug 1446891 - [crh] Search engine setup for Firefox for Crimean Tatar r=mkaply

MozReview-Commit-ID: 9y8J6OOfrYu

--HG--
extra : rebase_source : ac08f24bceb161c70bb233d371f5fa99c3c0c778
This commit is contained in:
Francesco Lodolo (:flod) 2018-04-18 19:10:12 +02:00
Родитель 897da97e65
Коммит 594ceaf180
2 изменённых файлов: 26 добавлений и 0 удалений

Просмотреть файл

@ -173,6 +173,13 @@
]
}
},
"crh": {
"default": {
"visibleDefaultEngines": [
"google", "ddg", "twitter", "wikipedia-crh"
]
}
},
"cs": {
"default": {
"visibleDefaultEngines": [

Просмотреть файл

@ -0,0 +1,19 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>Vikipediya (crh)</ShortName>
<Description>Vikipediya, Azat Entsiklopediya</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">resource://search-plugins/images/wikipedia.ico</Image>
<Url type="application/x-suggestions+json" method="GET" template="https://crh.wikipedia.org/w/api.php">
<Param name="action" value="opensearch"/>
<Param name="search" value="{searchTerms}"/>
</Url>
<Url type="text/html" method="GET" template="https://crh.wikipedia.org/wiki/Mahsus:Search"
resultdomain="wikipedia.org" rel="searchform">
<Param name="search" value="{searchTerms}"/>
<Param name="sourceid" value="Mozilla-search"/>
</Url>
</SearchPlugin>