From 536eb2b8dd623172c13ac17797582c8949956d7b Mon Sep 17 00:00:00 2001 From: Splinter Suidman Date: Sun, 5 Apr 2020 19:27:44 +0200 Subject: [PATCH] Add Wikimedia projects. A list of the added projects: - Wikibooks - Wikinews - Wikiquote - Wikisource - Wiktionary - Wikiversity - Wikivoyage --- AUTHORS.rst | 1 + searx/settings.yml | 70 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/AUTHORS.rst b/AUTHORS.rst index 9ab78b050..462b17017 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -123,3 +123,4 @@ generally made searx better: - Vipul @finn0 - @CaffeinatedTech - Robin Schneider @ypid +- @splintah diff --git a/searx/settings.yml b/searx/settings.yml index 078d95b72..042315bee 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -686,6 +686,76 @@ engines: engine : vimeo shortcut : vm + - name : wikibooks + engine : mediawiki + shortcut : wb + categories : general + base_url : "https://{language}.wikibooks.org/" + number_of_results : 5 + search_type : text + disabled : True + query : "srsearch={query}" + + - name : wikinews + engine : mediawiki + shortcut : wn + categories : general + base_url : "https://{language}.wikinews.org/" + number_of_results : 5 + search_type : text + disabled : True + query : "srsearch={query}" + + - name : wikiquote + engine : mediawiki + shortcut : wq + categories : general + base_url : "https://{language}.wikiquote.org/" + number_of_results : 5 + search_type : text + disabled : True + query : "srsearch={query}" + + - name : wikisource + engine : mediawiki + shortcut : ws + categories : general + base_url : "https://{language}.wikisource.org/" + number_of_results : 5 + search_type : text + disabled : True + query : "srsearch={query}" + + - name : wikitionary + engine : mediawiki + shortcut : wt + categories : general + base_url : "https://{language}.wiktionary.org/" + number_of_results : 5 + search_type : text + disabled : True + query : "srsearch={query}" + + - name : wikiversity + engine : mediawiki + shortcut : wvs + categories : general + base_url : "https://{language}.wikiversity.org/" + number_of_results : 5 + search_type : text + disabled : True + query : "srsearch={query}" + + - name : wikivoyage + engine : mediawiki + shortcut : wvy + categories : general + base_url : "https://{language}.wikivoyage.org/" + number_of_results : 5 + search_type : text + disabled : True + query : "srsearch={query}" + - name : wolframalpha shortcut : wa # You can use the engine using the official stable API, but you need an API key