Warning: proc_open(): open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/home/moldova/.composer:/home/moldova/web/enciclopedia.md/public_html:/home/moldova/web/enciclopedia.md/private:/home/moldova/web/enciclopedia.md/public_shtml:/home/moldova/tmp:/tmp:/var/www/html:/bin:/usr/bin:/usr/local/bin:/usr/share:/opt) in /home/moldova/web/enciclopedia.md/public_html/extensions/Scribunto/includes/Engines/LuaStandalone/LuaStandaloneInterpreter.php on line 159

Warning: proc_open(/dev/null): Failed to open stream: Operation not permitted in /home/moldova/web/enciclopedia.md/public_html/extensions/Scribunto/includes/Engines/LuaStandalone/LuaStandaloneInterpreter.php on line 159
Modul:No globals - MediaWiki

Modul:No globals

Versiunea din 19 iulie 2024 05:50, autor: Ana Vornic (discuție | contribuții) (Pagină nouă: local mt = getmetatable(_G) or {} 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('Modul:TNT').format('I18n/No globals', 'err-read', tostring(k)), 2) end return nil end function mt.__newindex(t, k, v) if k ~= 'arg' then error(require('Modul:TNT').format('I18n/No globals', 'err-write', tostring(k)), 2) end rawset(t, k, v) end setmetatable(_G, mt))

Documentația acestui modul poate fi creată la Modul:No globals/doc

Eroare în script: Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted

local mt = getmetatable(_G) or {}
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('Modul:TNT').format('I18n/No globals', 'err-read', tostring(k)), 2)
	end
	return nil
end
function mt.__newindex(t, k, v)
	if k ~= 'arg' then
		error(require('Modul:TNT').format('I18n/No globals', 'err-write', tostring(k)), 2)
	end
	rawset(t, k, v)
end
setmetatable(_G, mt)