Bug 1446891 - [crh] Search engine setup for Firefox for Crimean Tatar r?mkaply
MozReview-Commit-ID: 9y8J6OOfrYu
--- a/browser/locales/search/list.json
+++ b/browser/locales/search/list.json
@@ -168,16 +168,23 @@
},
"cak": {
"default": {
"visibleDefaultEngines": [
"google", "bing", "amazondotcom", "ddg", "wikipedia-es"
]
}
},
+ "crh": {
+ "default": {
+ "visibleDefaultEngines": [
+ "google", "ddg", "twitter", "wikipedia-crh"
+ ]
+ }
+ },
"cs": {
"default": {
"visibleDefaultEngines": [
"google", "seznam-cz", "ddg", "heureka-cz", "mapy-cz", "wikipedia-cz"
]
}
},
"cy": {
new file mode 100644
--- /dev/null
+++ b/browser/locales/searchplugins/wikipedia-crh.xml
@@ -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>