Bug 1400798 - [ia] Search engine setup for Firefox for Interlingua r=delphine
authorFrancesco Lodolo (:flod) <flod@lodolo.net>
Mon, 02 Oct 2017 06:38:54 +0200
changeset 426648 6d5eaa1fceba24788b1ca4a2af4de542d6aa84cf
parent 426647 ddfc127526b292037d2e3298c65afd15c37ddc91
child 426649 6e6e4c6098f6ffda7db118a31d3213795a6bddc0
push id97
push userfmarier@mozilla.com
push dateSat, 14 Oct 2017 01:12:59 +0000
reviewersdelphine
bugs1400798
milestone58.0a1
Bug 1400798 - [ia] Search engine setup for Firefox for Interlingua r=delphine MozReview-Commit-ID: 4Stpr12otgs
browser/locales/search/list.json
browser/locales/searchplugins/wikipedia-ia.xml
--- a/browser/locales/search/list.json
+++ b/browser/locales/search/list.json
@@ -368,16 +368,23 @@
     },
     "hy-AM": {
       "default": {
         "visibleDefaultEngines": [
           "google", "yahoo", "amazondotcom", "ddg", "list-am", "wikipedia-hy"
         ]
       }
     },
+    "ia": {
+      "default": {
+        "visibleDefaultEngines": [
+          "google", "yahoo", "bing", "amazondotcom", "ddg", "twitter", "wikipedia-ia"
+        ]
+      }
+    },
     "id": {
       "default": {
         "visibleDefaultEngines": [
           "google", "yahoo-id", "ddg", "wikipedia-id"
         ]
       }
     },
     "is": {
new file mode 100644
--- /dev/null
+++ b/browser/locales/searchplugins/wikipedia-ia.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>Wikipedia (ia)</ShortName>
+<Description>Wikipedia, le encyclopedia libere</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://ia.wikipedia.org/w/api.php">
+  <Param name="action" value="opensearch"/>
+  <Param name="search" value="{searchTerms}"/>
+</Url>
+<Url type="text/html" method="GET" template="https://ia.wikipedia.org/wiki/Special:Recerca"
+     resultdomain="wikipedia.org" rel="searchform">
+  <Param name="search" value="{searchTerms}"/>
+  <Param name="sourceid" value="Mozilla-search"/>
+</Url>
+</SearchPlugin>