User:Liangent/wb-lang/example

Assume the following item: Labels de - Wien en - Vienna sr - Beč

Assume the following request: getLabels(de) -> de:Wien getLabels(en) -> en:Vienna getLabels(de, en) -> de:Wien, en:Vienna getLabels(de, en, qqa=array( zh, sr-ec, sr-ec-converted-from-sr-el, sr-ec-converted-from-sr, de, en ) ) -> de:Wien, en:Vienna, qqa:array( language=>sr-ec, value=>Беч, source=>sr ) getLabels(qqa=array( zh, sr-ec, sr-ec-converted-from-sr-el, sr-ec-converted-from-sr, de, en ) ) -> qqa:array( language=>sr-ec, value=>Беч, source=>sr ) getLabels(sr) -> sr:Beč getLabels(zh=array(zh, sr) ) -> sr:Beč # incorrect call getLabels(sr=array(sr, zh) ) -> sr:Beč # incorrect call getLabels(zh) -> null getLabels(sr-ec) -> null getLabels(sr-ec-converted-from-sr) -> # incorrect call