Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsgiehl <stefan@piwik.org>2014-05-20 23:14:27 +0400
committersgiehl <stefan@piwik.org>2014-05-20 23:14:27 +0400
commita46d84eab1af92756a80c55f478ccb674812fcd2 (patch)
treef26eefaa67d76280bac40c2cbeceef46b63edb6b
parent8fcd460af30b535a4f7c91a73cd9d4736bb7f773 (diff)
refs #5114 added detection for woopie.jp
-rw-r--r--core/DataFiles/SearchEngines.php3
-rw-r--r--tests/resources/extractSearchEngineInformationFromUrlTests.yml4
2 files changed, 7 insertions, 0 deletions
diff --git a/core/DataFiles/SearchEngines.php b/core/DataFiles/SearchEngines.php
index 69790264d0..84843a49b9 100644
--- a/core/DataFiles/SearchEngines.php
+++ b/core/DataFiles/SearchEngines.php
@@ -941,6 +941,9 @@ if (!isset($GLOBALS['Piwik_SearchEngines'])) {
// Wirtualna Polska
'szukaj.wp.pl' => array('Wirtualna Polska', 'szukaj', 'http://szukaj.wp.pl/szukaj.html?szukaj={k}'),
+ // Woopie
+ 'www.woopie.jp' => array('Woopie', 'kw', 'search?kw={k}'),
+
// WWW
'search.www.ee' => array('www värav', 'query'),
diff --git a/tests/resources/extractSearchEngineInformationFromUrlTests.yml b/tests/resources/extractSearchEngineInformationFromUrlTests.yml
index e85a1b3a99..89c9cfe084 100644
--- a/tests/resources/extractSearchEngineInformationFromUrlTests.yml
+++ b/tests/resources/extractSearchEngineInformationFromUrlTests.yml
@@ -418,6 +418,10 @@
engine: 'SmartAddressbar'
keywords: 'habillage aikatsu'
+- url: 'http://www.woopie.jp/search?kw=piwik&return=authorization&res=fail&code=213'
+ engine: 'Woopie'
+ keywords: 'piwik'
+
- url: 'http://lemoteur.ke.voila.fr/?module=orange&bhv=images&kw=negi%20ma%20ala%20alba%20eva'
engine: 'Orange'
keywords: 'negi ma ala alba eva'