Fix language param 'lang' appended to wikipedia URL; use '?' instead of '&' since it is the first and only param
This commit is contained in:
parent
ef988a3dd0
commit
68e5a818b7
|
@ -361,7 +361,7 @@ public class Utils {
|
||||||
}
|
}
|
||||||
path = matcher.group(2);
|
path = matcher.group(2);
|
||||||
}
|
}
|
||||||
newUrl = scheme + wikilessHost + "/" + path + (subdomain != null ? "&lang=" + subdomain : "");
|
newUrl = scheme + wikilessHost + "/" + path + (subdomain != null ? "?lang=" + subdomain : "");
|
||||||
return newUrl;
|
return newUrl;
|
||||||
} else {
|
} else {
|
||||||
return url;
|
return url;
|
||||||
|
|
Loading…
Reference in New Issue