Module:sish-pronunc: Difference between revisions
No edit summary |
No edit summary Tag: Manual revert |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
local m_str_utils = require("Module:string utilities") | local m_str_utils = require("Module:string utilities") | ||
local lang = require("Module:languages").getByCode(" | local lang = require("Module:languages").getByCode("sish") | ||
local m_IPA = require("Module:IPA") | local m_IPA = require("Module:IPA") | ||
local yesno_module = "Module:yesno" | local yesno_module = "Module:yesno" | ||
| Line 678: | Line 678: | ||
-- [[Wiktionary:Tracking/hy-pronunciation/input equal to pagename]] | -- [[Wiktionary:Tracking/hy-pronunciation/input equal to pagename]] | ||
track("input equal to pagename") | track("input equal to pagename") | ||
end | |||
if args.E then | |||
local eastern = {} | |||
if not is_empty(args[1]) then | |||
insert_all_from_table(eastern, args[1]) | |||
elseif not is_empty(args.e) then | |||
if first_item_is_nil_in_non_empty_table(args.e) then | |||
args.e[1] = get_pagename() | |||
end | |||
insert_all_from_table(eastern, args.e) | |||
else | |||
insert(eastern, get_pagename()) | |||
end | |||
insert_east_or_west( | |||
eastern, | |||
"standard", | |||
"sish-st", | |||
args.colle, | |||
"Standard Ossamic" | |||
) | |||
end | end | ||