Commit 068e26e6 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Merge branch 'patch-1' into 'development'

Wikipedia Quicktip wieder aktiv

See merge request !902
parents bc0e1e6a c66546be
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment