Module:Cite: Difference between revisions

From Phuketer
ABC local compatibility shim for Module:Cite
ABC local final compatibility shim
 
Line 1: Line 1:
-- ABC local compatibility shim for standalone Phuketer imports.
local p = {}
-- This prevents imported Wikipedia helper calls from throwing visible Lua errors
-- when the full enwiki CS1 stack is not available locally.


local p = {}
setmetatable(p, {
__index = function(t, k)
local f = function(frame)
return ''
end
rawset(t, k, f)
return f
end
})


local function empty()
function p.main(frame)
return ''
return ''
end
end


p.citation = empty
function p._main(args)
p._citation = empty
return ''
p.cite = empty
end
p.main = empty


return p
return p

Latest revision as of 16:06, 16 June 2026

Documentation for this module may be created at Module:Cite/doc

local p = {}

setmetatable(p, {
	__index = function(t, k)
		local f = function(frame)
			return ''
		end
		rawset(t, k, f)
		return f
	end
})

function p.main(frame)
	return ''
end

function p._main(args)
	return ''
end

return p