Hide language redirects in the ULS panel
Around 30 languages with redirects and variants appear twice in the ULS panel. This fix checks if a redirect exists for a language code, and if it does, it updates the target in the languages object and removes the redirect.
Bug: T195342
@santhoshtr @Abijeet Could we get one of you to help review this patch?
@Abijeet, thanks for your review of this PR! @amire80 and I discussed your comments, and I’ve made further improvements to the patch. It required an additional change in the extension, which I’ve uploaded here: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/UniversalLanguageSelector/+/1087961. This PR is no longer relevant.