Fix language param 'lang' appended to wikipedia URL; use '?' instead of '&' since it is the first and only param

This commit is contained in:
ms8661 2022-01-11 03:33:04 +00:00
parent ef988a3dd0
commit 68e5a818b7
1 changed files with 1 additions and 1 deletions

View File

@ -361,7 +361,7 @@ public class Utils {
}
path = matcher.group(2);
}
newUrl = scheme + wikilessHost + "/" + path + (subdomain != null ? "&lang=" + subdomain : "");
newUrl = scheme + wikilessHost + "/" + path + (subdomain != null ? "?lang=" + subdomain : "");
return newUrl;
} else {
return url;