Exporting tables directly
Fragment of a discussion from User talk:Kephir
Actually, they can:
export.whatever = nil
setmetatable(export, {
__index = function (self, key)
if key == 'whatever' then
require('Module:debug').track('whatever')
return whatever
end
end
})
But I agree, annotating these is a good idea.
— Keφr
That code snippet would be very useful to preserve on Category:Template tracking!