Bug 1361250 - [lo] Search engine setup for Firefox for Lao r?mkaply draft
authorFrancesco Lodolo (:flod) <flod@lodolo.net>
Tue, 02 May 2017 08:58:05 +0200
changeset 571173 9caaac2ab49b32397dc05d4d8e13eaab391a11be
parent 571131 2e7c10a9b86e30691f67855f6c8f98d984508d7c
child 626692 7b138d95551ea61265ac8e3be068d984daa2f03b
push id56705
push userbmo:francesco.lodolo@gmail.com
push dateTue, 02 May 2017 06:59:12 +0000
reviewersmkaply
bugs1361250
milestone55.0a1
Bug 1361250 - [lo] Search engine setup for Firefox for Lao r?mkaply MozReview-Commit-ID: 3TaxmMzYH3W
browser/locales/search/list.json
browser/locales/searchplugins/wikipedia-lo.xml
--- a/browser/locales/search/list.json
+++ b/browser/locales/search/list.json
@@ -455,16 +455,23 @@
     },
     "lij": {
       "default": {
         "visibleDefaultEngines": [
           "google", "yahoo-it", "bing", "amazon-it", "ddg", "paroledigenova-lij", "wikipedia-lij"
         ]
       }
     },
+    "lo": {
+      "default": {
+        "visibleDefaultEngines": [
+          "google", "yahoo", "bing", "ddg", "wikipedia-lo", "twitter"
+        ]
+      }
+    },
     "lt": {
       "default": {
         "visibleDefaultEngines": [
           "google", "wikipedia-lt", "bing", "amazondotcom", "ddg", "twitter"
         ]
       }
     },
     "ltg": {
new file mode 100644
--- /dev/null
+++ b/browser/locales/searchplugins/wikipedia-lo.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>ວິກິພີເດຍ (lo)</ShortName>
+<Description>ວິກິພີເດຍ, ສາລານຸກົມເສລີ</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://lo.wikipedia.org/w/api.php">
+  <Param name="action" value="opensearch"/>
+  <Param name="search" value="{searchTerms}"/>
+</Url>
+<Url type="text/html" method="GET" template="https://lo.wikipedia.org/wiki/ພິເສດ:ຊອກຫາ"
+     resultdomain="wikipedia.org" rel="searchform">
+  <Param name="search" value="{searchTerms}"/>
+  <Param name="sourceid" value="Mozilla-search"/>
+</Url>
+</SearchPlugin>