mirror of
https://github.com/searxng/searxng.git
synced 2024-11-05 04:40:11 +01:00
Wikidata engine: minor change of the SPARQL request
The engine can be slow especially when the query won't return any answer. See https://www.mediawiki.org/wiki/Wikidata_Query_Service/User_Manual/MWAPI#Find_articles_in_Wikipedia_speaking_about_cheese_and_see_which_Wikibase_items_they_correspond_to Related to #1290
This commit is contained in:
parent
59ef9b9287
commit
d068b67a71
@ -65,6 +65,7 @@ WHERE
|
||||
mwapi:language "%LANGUAGE%".
|
||||
?item wikibase:apiOutputItem mwapi:item.
|
||||
}
|
||||
hint:Prior hint:runFirst "true".
|
||||
|
||||
%WHERE%
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user