Skip to content
Snippets Groups Projects
Commit c66546be authored by Phil Höfer's avatar Phil Höfer
Browse files

Update MetaGerSearch.php

parent bc0e1e6a
No related branches found
No related tags found
1 merge request!1365Resolve "Filter Options for MetaGer"
......@@ -169,7 +169,7 @@ class MetaGerSearch extends Controller
}
}
/*
# Wikipedia Quicktip
$url = "https://" . APP::getLocale() . ".wikipedia.org/w/api.php?action=opensearch&search=" . urlencode($q) . "&limit=10&namespace=0&format=json&redirects=resolve";
try{
......@@ -203,7 +203,7 @@ class MetaGerSearch extends Controller
$quicktips[] = $quicktip;
}
$mquicktips = array_merge($mquicktips, $quicktips);
*/
if (APP::getLocale() === "de") {
# Dict.cc Quicktip
if (count(explode(' ', $q)) < 3) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment