Template:LangSwitch: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
m set up default language for user when no language is forced in parameter
m remove the lang and in bdi (the fallbacks determined inside are not the desired languages for which we look for them), This bdi will be indicated in a Lua module to develop later. We ned it, but only once the final language is determined.
Line 1: Line 1:
{{#ifeq:{{{ {{#if:{{{uselang|}}}|{{{uselang|}}}|{{uselang}}}} |}}}|{{{ {{#if:{{{uselang|}}}|{{{uselang|}}}|{{uselang}}}} |-}}}|{{{ {{#if:{{{uselang|}}}|{{{uselang|}}}|{{uselang}}}} }}}|
{{#ifeq:{{{ {{#if:{{{uselang|}}}|{{{uselang|}}}|{{uselang}}}} |}}}|{{{ {{#if:{{{uselang|}}}|{{{uselang|}}}|{{uselang}}}} |-}}}|{{{ {{#if:{{{uselang|}}}|{{{uselang|}}}|{{uselang}}}} }}}|
<bdi lang="{{BCP47|{{uselang}}}}" dir="{{dir|{{uselang}}}}">{{#switch:{{#if:{{{uselang|}}}|{{{uselang|}}}|{{uselang}}}}<!--
<bdi>{{#switch:{{#if:{{{uselang|}}}|{{{uselang|}}}|{{uselang}}}}<!--
TODO:add the missing fallbacks port these fallbacks into the Lua module for TNT and use the fallbacks mapped in the PHP modules of MediaWiki supported languages
TODO:add the missing fallbacks port these fallbacks into the Lua module for TNT and use the fallbacks mapped in the PHP modules of MediaWiki supported languages



Revision as of 02:03, 18 January 2014

{{{en}}}

Template documentation