return hlx;
}
public static HashMap<String, String> resolveRedirects(Wiki wiki, ArrayList<String> titles)
{
HashMap<String, String> hl = new HashMap<>();
<BUG>RSet rs = new SQ(wiki, null, FL.pMap("redirects", "")).multiTitleQuery("titles", titles);
</BUG>
for (Reply r : rs.getJOofJA("redirects")) // add titles which are redirects with resolved title
hl.put(r.getStringR("from"), r.getStringR("to"));
for (String s : titles) // add titles that are not redirects

return hlx;
}
public static HashMap<String, String> resolveRedirects(Wiki wiki, ArrayList<String> titles)
{
HashMap<String, String> hl = new HashMap<>();
RSet rs = SQ.with(wiki, null, FL.pMap("redirects", "")).multiTitleQuery("titles", titles);
for (Reply r : rs.getJOofJA("redirects")) // add titles which are redirects with resolved title
hl.put(r.getStringR("from"), r.getStringR("to"));
for (String s : titles) // add titles that are not redirects
