Module:taln-conj: Difference between revisions

Nehster9 (talk | contribs)
mNo edit summary
m Sware moved page Module:tln-conj to Module:taln-conj without leaving a redirect
 
(3 intermediate revisions by one other user not shown)
Line 104: Line 104:
local irregulars = {
local irregulars = {


     ["ᠢᠷᠡᠷᠡ"] = {
     ["ᠢᠷᠡ"] = {


         pres_1s = "ᠸᠣ",
         pres_1s = "ᠸᠣ",
Line 209: Line 209:


     local args = frame:getParent().args
     local args = frame:getParent().args
     local title = mw.title.getCurrentTitle().prefixedText
     local title = mw.title.getCurrentTitle().text


     local class = args.class or detect_class(title)
     local class = args.class or detect_class(title)
Line 219: Line 219:


     local forms = {}
     local forms = {}
   
    if irregulars[title] then
    return "FOUND IRREGULAR"
else
    return "NO IRREGULAR: [" .. title .. "]"
end


local function get_slot_stem(args, slot)
local function get_slot_stem(args, slot)