Replace hardcoded native language names with core parser function

Works well on Commons: https://commons.wikimedia.org/wiki/MediaWiki:Loginlanguagelinks

Change-Id: I1ee8278aea3457d12695a2e4d9b841c32cb67ffa