מייבאים כמותיים, בדוקי עריכות אוטומטית, ביוראקראטן, אינטערפעיס רעדאקטארן, emailconfirmed, אינטערפעיס אדמיניסטראַטאָרן, מנטרים, סיסאפן, צוות טכני, מייבאים, מעדכנים, אספקלריה רעדאקטארן
102,362
רעדאגירונגען
אין תקציר עריכה |
אין תקציר עריכה |
||
| שורה 1: | שורה 1: | ||
local p = {} | local p = {} | ||
--[[ | |||
local function stripToNil(text) | local function stripToNil(text) | ||
-- If text is a string, return its trimmed content, or nil if empty. | -- If text is a string, return its trimmed content, or nil if empty. | ||
| שורה 9: | שורה 10: | ||
return text | return text | ||
end | end | ||
]]-- | |||
function p.fetch(frame) | function p.fetch(frame) | ||
| שורה 15: | שורה 17: | ||
local args = getArgs(frame) | local args = getArgs(frame) | ||
local data = mw.loadData('יחידה:Lexicon/Data') | local data = mw.loadData('יחידה:Lexicon/Data') | ||
local word = | local word = args[1] | ||
return data.words[word] | return data.words[word] | ||
end | end | ||
return p | return p | ||
רעדאגירונגען