Skip to content
Snippets Groups Projects
Commit 4a26a79f authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Wikipedia aus den Quicktips entfernt. Offenbar wurden wir aus irgendeinem Grund gesperrt.

parent e9b3182e
No related branches found
No related tags found
1 merge request!871Wikipedia aus den Quicktips entfernt. Offenbar wurden wir aus irgendeinem Grund gesperrt.
...@@ -169,7 +169,7 @@ class MetaGerSearch extends Controller ...@@ -169,7 +169,7 @@ class MetaGerSearch extends Controller
} }
} }
/*
# Wikipedia Quicktip # Wikipedia Quicktip
$url = "https://" . APP::getLocale() . ".wikipedia.org/w/api.php?action=opensearch&search=" . urlencode($q) . "&limit=10&namespace=0&format=json&redirects=resolve"; $url = "https://" . APP::getLocale() . ".wikipedia.org/w/api.php?action=opensearch&search=" . urlencode($q) . "&limit=10&namespace=0&format=json&redirects=resolve";
try{ try{
...@@ -203,7 +203,7 @@ class MetaGerSearch extends Controller ...@@ -203,7 +203,7 @@ class MetaGerSearch extends Controller
$quicktips[] = $quicktip; $quicktips[] = $quicktip;
} }
$mquicktips = array_merge($mquicktips, $quicktips); $mquicktips = array_merge($mquicktips, $quicktips);
*/
if (APP::getLocale() === "de") { if (APP::getLocale() === "de") {
# Dict.cc Quicktip # Dict.cc Quicktip
if (count(explode(' ', $q)) < 3) { 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