Last modified: 2014-06-14 11:19:15 UTC
Why?
To do LanguageConverter::findVariantLink(). The "Go" button in MediaWiki itself does this.
This also needs to be done in URL parsing, because it's done in core here too.