Bug 1089598 - Yahoo search code for the search activity widget. r=mfinkle, a=lsblakk
authorMargaret Leibovic <margaret.leibovic@gmail.com>
Fri, 31 Oct 2014 11:14:57 -0700
changeset 233658 ff4f45257692e25a93672e77add7c5cbba42f414
parent 233657 fa6764969e8bcd13c06b075309d312dd16021b50
child 233659 3b833107963d5e31b903b7d371cd12eba952b585
push id4187
push userbhearsum@mozilla.com
push dateFri, 28 Nov 2014 15:29:12 +0000
treeherdermozilla-beta@f23cc6a30c11 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle, lsblakk
bugs1089598
milestone35.0a2
Bug 1089598 - Yahoo search code for the search activity widget. r=mfinkle, a=lsblakk
mobile/locales/en-US/searchplugins/wikipedia.xml
mobile/locales/en-US/searchplugins/yahoo.xml
--- a/mobile/locales/en-US/searchplugins/wikipedia.xml
+++ b/mobile/locales/en-US/searchplugins/wikipedia.xml
@@ -9,14 +9,15 @@
 <Url type="application/x-suggestions+json" method="GET" template="https://en.wikipedia.org/w/api.php">
   <Param name="action" value="opensearch"/>
   <Param name="search" value="{searchTerms}"/>
 </Url>
 <Url type="text/html" method="GET" template="https://en.wikipedia.org/wiki/Special:Search">
   <Param name="search" value="{searchTerms}"/>
   <Param name="sourceid" value="Mozilla-search"/>
 </Url>
+<!-- Search activity -->
 <Url type="text/html" method="GET" rel="mobile" template="https://en.m.wikipedia.org/wiki/Special:Search">
   <Param name="search" value="{searchTerms}"/>
   <Param name="sourceid" value="Mozilla-search"/>
 </Url>
 <SearchForm>https://en.wikipedia.org/wiki/Special:Search</SearchForm>
 </SearchPlugin>
--- a/mobile/locales/en-US/searchplugins/yahoo.xml
+++ b/mobile/locales/en-US/searchplugins/yahoo.xml
@@ -13,10 +13,16 @@
   <Param name="command" value="{searchTerms}" />
   <MozParam name="nresults" condition="pref" pref="maxSuggestions" />
 </Url>
 <Url type="text/html" method="GET" template="https://search.yahoo.com/search">
   <Param name="p" value="{searchTerms}" />
   <Param name="ei" value="UTF-8" />
   <Param name="fr" value="mozmob1" />
 </Url>
+<!-- Search activity -->
+<Url type="text/html" method="GET" rel="mobile" template="https://search.yahoo.com/search">
+  <Param name="p" value="{searchTerms}" />
+  <Param name="ei" value="UTF-8" />
+  <Param name="fr" value="mozmob2" />
+</Url>
 <SearchForm>https://search.yahoo.com/</SearchForm>
 </SearchPlugin>