Ouvrir le menu principal

Modifications

122 octets ajoutés ,  10 mai 2019 à 20:39
update manually from mw. Now autotranslated
function mt.__index (t, k)
if k ~= 'arg' then
-- perf optimization here and below: do not load Module:TNT unless there is an error error(require('Module:TNT').format( "utilisation d'une variable globaleI18n/No globals', 'err-read', " .. tostring(k)), 2 )
end
return nil
function mt.__newindex(t, k, v)
if k ~= 'arg' then
error( "utilisation drequire('Module:TNT').format('I18n/No globals', 'err-write'une variable globale, " .. tostring(k)), 2 )
end
rawset(t, k, v)
end
setmetatable(_G, mt)
Utilisateur anonyme