Template:Uselang: Difference between revisions
Template page
More actions
mNo edit summary |
m the legacy test for actual int:lang value fails: it returns the resource name between "⧼ ⧽" (turtle brackets) when there's no language code in "Mediawiki:Lang/*", no longer between "< >" (lower than/greater than signs), since long in Mediawiki; we still need support to direct access in the MediaWiki syntax to the user language from the PHP Mediawiki API (still no magic keyword or special case in the "Int:" handler to avoid loading "Mediawiki/Lang/*" from the dB) |
||
| Line 1: | Line 1: | ||
{{#ifeq:{{ | {{#ifeq:{{Int:Lang}}|⧼Lang⧽|en|{{Int:Lang}}}}<noinclude>{{Doc}}</noinclude> | ||
Revision as of 18:45, 25 April 2021
en
This documentation is transcluded from Template:Uselang/doc.
Returns the code of the user language, as specified in the corresponding page mediawiki:lang/xx, otherwise "en" (default).