209
edits
(string issues again) |
(so this is how i learn that you can't use mediawiki formatting in lua modules, lol) |
||
Line 19: | Line 19: | ||
local mw_src = "" | local mw_src = "" | ||
mw_src = mw_src .. string.format(" | mw_src = mw_src .. string.format("<h2>%s</h2>", lang:getCanonicalName()) | ||
if reconstructed then | if reconstructed then | ||
mw_src = mw_src .. "{{Reconstructed}} | mw_src = mw_src .. "{{Reconstructed}}" | ||
end | end | ||
Line 35: | Line 35: | ||
local mw_src = "" | local mw_src = "" | ||
mw_src = mw_src .. string.format(" | mw_src = mw_src .. string.format("<h3>%s</h3>", word_type) | ||
mw_src = mw_src .. "<b>{{PAGENAME}}</b><br>" | mw_src = mw_src .. "<b>{{PAGENAME}}</b><br>" | ||
Line 87: | Line 87: | ||
"e-stem", | "e-stem", | ||
{ | { | ||
{" | {"%set-", "%sKL̀t"}, | ||
{" | {"%seĺ-", "%sKỳĺ"}, | ||
{" | {"%sḿeDat-", "%sKLeT"}, | ||
{" | {"%soNat-", "%sKL̀n"}, | ||
{" | {"%sraBet-", "%sKRaB"}, | ||
} | } | ||
}, | }, | ||
Line 97: | Line 97: | ||
"e-stem y-variation", | "e-stem y-variation", | ||
{ | { | ||
{" | {"%syet-", "%sỳKL̀t"}, | ||
{" | {"%syeĺ-", "%sỳKỳĺ"}, | ||
{" | {"%sỳḿeDat-", "%sỳKLeT"}, | ||
{" | {"%syoNat-", "%sỳKL̀n"}, | ||
{" | {"%sỳraBet-", "%sỳKRaB"}, | ||
} | } | ||
}, | }, | ||
Line 107: | Line 107: | ||
"a-stem", | "a-stem", | ||
{ | { | ||
{" | {"%sat-", "%sKL̀t"}, | ||
{" | {"%saĺ-", "%sKỳĺ"}, | ||
{" | {"%sḿat-", "%sKLaT"}, | ||
{" | {"%soNat-", "%sKL̀n"}, | ||
{" | {"%sraBat-", "%sKRaB"}, | ||
} | } | ||
} | } | ||
Line 124: | Line 124: | ||
if not stem then | if not stem then | ||
error(string.format("No stem found with identifier ' | error(string.format("No stem found with identifier '%s'", root)) | ||
end | end | ||
return " | return "<h4>Inflection</h4>" .. inflection( | ||
root, | root, | ||
{"Definite", "Indefinite"}, | {"Definite", "Indefinite"}, |
edits