Bug 1446891 - [crh] Search engine setup for Firefox for Crimean Tatar r=mkaply
authorFrancesco Lodolo (:flod) <flod@lodolo.net>
Wed, 18 Apr 2018 19:10:12 +0200
changeset 467856 615a28d921ff53d83517f53b7ef4a633010f90a0
parent 467855 d81ab6f099ee4fd9af5250c9b33b29105e8d7bcf
child 467857 1af1164637675ec4ace61043cb22d619056789f0
push id9165
push userasasaki@mozilla.com
push dateThu, 26 Apr 2018 21:04:54 +0000
treeherdermozilla-beta@064c3804de2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmkaply
bugs1446891
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1446891 - [crh] Search engine setup for Firefox for Crimean Tatar r=mkaply MozReview-Commit-ID: 9y8J6OOfrYu
browser/locales/search/list.json
browser/locales/searchplugins/wikipedia-crh.xml
--- 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>