we can still use the full language for output (uselang)

This commit is contained in:
Martin Raifer
2023-05-23 16:15:11 +02:00
parent 862ca6522a
commit 96c2670727
+2 -2
View File
@@ -23,7 +23,7 @@ export default {
return;
}
var lang = language || this.languagesToQuery()[0];
var lang = this.languagesToQuery()[0];
var url = apibase + utilQsString({
action: 'wbsearchentities',
@@ -32,7 +32,7 @@ export default {
search: query,
type: 'item',
// the language to search
language: lang,
language: language || lang,
// the language for the label and description in the result
uselang: lang,
limit: 10,