Content deleted Content added
No edit summary |
No edit summary |
||
Line 262:
--- Parse JSON file
local version = mw.title.makeTitle( 'Template', 'Holigreg/holidays/' .. holiday .. '.js' )
if not version.exists then
return inlineError("holiday", "Holiday does not exist in database", tname) .. createTracking()
end
local json = mw.text.jsonDecode( version:getContent() )
|