Module:Sandbox/User:Alsang/NodeDescriptionChecker: Difference between revisions

table to identify which recipes changed formatting
(add function to check if pages and recipes exist)
(table to identify which recipes changed formatting)
Line 290:
local query = mw.smw.ask('[[Name::' .. name .. ']][[Recipe JSON::~*]]|?#-')
local result = tostring(query)
if result=='table' then
cell:wikitext(', has recipe:' .. result)
elseif result=='nil' then
cell:wikitext(' needs recipe')
else
cell:wikitext(result)
end
end
cell:wikitext('<br>')
21,283

edits