Use wgPageName instead of wgTitle when fetching language links

Bug: 49226
Change-Id: I4085457ba8601ee8a1f09bd1008a2bbf15209a25
Merge "Use wgPageName instead of wgTitle when fetching language links"