Create the following as Module:LoadData/data:
return { mw.getCurrentFrame().args[1] }
Create the following as Module:LoadData:
local p = {}
function p.main(frame)
return mw.loadData('Module:LoadData/data')[1]
end
return p
Create the following as Module:LoadData/doc:
{{#invoke:LoadData|main|some data to share}}
{{#invoke:LoadData|main}}
{{#invoke:LoadData|main}}
This will return the following:
some data to share
some data to share
some data to share
This indicates a break of isolation between the different calls to #invoke.
Version: unspecified
Severity: major