Commit 68e5a818 authored by ms8661's avatar ms8661
Browse files

Fix language param 'lang' appended to wikipedia URL; use '?' instead of '&'...

Fix language param 'lang' appended to wikipedia URL; use '?' instead of '&' since it is the first and only param
parent ef988a3d
...@@ -361,7 +361,7 @@ public class Utils { ...@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment