Module:SMW JSON: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

29 November 2024

  • curprev 13:5213:52, 29 November 2024BlackHawk talk contribs 1,106 bytes +1,106 Created page with "local p = {} function p.main(frame) local args = frame.args local field = args.field local subobject = args.subobject local parent_args = frame:getParent().args p._main(field, parent_args, subobject) end function p._main(field, parent_args, subobject) if field ~= nil then local args = {} for k, v in pairs(parent_args) do if v == '' then args[k] = nil else args[k] = mw.text.unstrip(v) end end local data = { [field] = mw.text.jsonEncode(..."