Module:Data: Revision history

From ProleWiki, the proletarian encyclopedia

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.

28 September 2023

  • curprev 16:3816:38, 28 September 2023Dragon talk contribs 819 bytes +819 Created page with "local mt = {} function mt.__index(t, k) return function(frame) local data = mw.loadData(k) local i = 1 for _,v in ipairs(frame.args) do local ty = type(data) if ty ~= 'table' then local args = {} for j = 1, i - 1 do args[j] = frame.args[j] end if frame.args.softfail then return '<span class="error">Category:Pages with failed Module:Data lookupsError: Tried to read index "' .. mw.text.nowiki(v) .. '" of mw.loadData("' .. mw.text..."