45,333
edits
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
function export.generate(frame) | function export.generate(frame) | ||
local case = frame.args[1] | local case = frame.args[1] | ||
local word = frame.args[2] or PAGENAME | local word = frame.args[2] == nil and nil or PAGENAME | ||
local data = {forms = {}, categories = {}} | local data = {forms = {}, categories = {}} | ||
local decl, stem = m_p.detect_decl(word) | local decl, stem = m_p.detect_decl(word) |