Module:head: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
 
Line 5: Line 5:
local m_gender_and_number = require("Module:gender and number")
local m_gender_and_number = require("Module:gender and number")
local m_formatting = require("Module:formatting")
local m_formatting = require("Module:formatting")
local non_lemma_pos = {
["contraction"] = true,
}


local function is_non_lemma(pos)
local function is_non_lemma(pos)
return mw.ustring.find(pos, "%sform") and true or false
return (mw.ustring.find(pos, "%sform") or non_lemma_pos[pos] == true) and true or false
end
end