Jump to content

Module:No globals

ཡོང་ཁུངས་Wikipedia

Documentation for this module may be created atModule:No globals/doc

localmt=getmetatable(_G)or{}
functionmt.__index(t,k)
ifk~='arg'then
-- perf optimization here and below: do not load Module:TNT unless there is an error
error(require('Template:TNT').format('I18n/No globals','err-read',tostring(k)),2)
end
returnnil
end
functionmt.__newindex(t,k,v)
ifk~='arg'then
error(require('Template:TNT').format('I18n/No globals','err-write',tostring(k)),2)
end
rawset(t,k,v)
end
setmetatable(_G,mt)
"https://bo.wikipedia.org/w/index.php?title=Module:No_globals&oldid=140854"ལས་སླར་རྙེད་སོང།