Template:LangSwitch: Difference between revisions
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 |
<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}}}
This template has a duplicate on Meta-Wiki. Please visit its documentation on Meta-Wiki for usage details and any additional information. Please keep the content and translations synchronized as much as possible. Thank you! |