Module:Sandbox/Hellknowz/Test: Difference between revisions

Content deleted Content added
noUnstrip
Line 681:
 
function main.emitMetadata(frame)
 
local input = stripFieldExtras(frame.args[1])
-- If desired (default), unstrip and decode to have the raw markup
if (not frame.args.noUnstrip or frame.args.noUnstrip ~= 'yes') then
input = mw.text.decode(mw.text.unstrip(input))
end
input = stripFieldExtras(input)
 
-- Then parse the date and see if we get a valid output date