Template:UILANGCODE

en

Template documentation


Purpose edit

This template returns the "UI language code" for the current user session. This is temporary solution was realised prior integration this feature in the MediaWiki core. Was used {{int:lang}} hack based on set of custom MediaWiki messages.

Template was created for replacement direct calling {{int:lang}} for more easy further migration to using MediaWiki built-in feature.

See also edit