mirror of
https://github.com/gnosygnu/xowa.git
synced 2024-10-27 20:34:16 +00:00
Scribunto: Fix 'Module:Exception:2 attempt to index ? (a nil value)' on some en.u pages [#475]
This commit is contained in:
parent
c7f54287af
commit
3b6efe4274
@ -605,9 +605,10 @@ function MWServer:newEnvironment()
|
|||||||
env.setfenv, env.getfenv = mw.makeProtectedEnvFuncs(
|
env.setfenv, env.getfenv = mw.makeProtectedEnvFuncs(
|
||||||
self.protectedEnvironments, self.protectedFunctions )
|
self.protectedEnvironments, self.protectedFunctions )
|
||||||
|
|
||||||
-- env.debug = {
|
-- XOWA:uncommented env.debug; ISSUE#:475; DATE:2019-06-02
|
||||||
-- traceback = debug.traceback
|
env.debug = {
|
||||||
-- }
|
traceback = debug.traceback
|
||||||
|
}
|
||||||
env.os = {
|
env.os = {
|
||||||
date = os.date,
|
date = os.date,
|
||||||
difftime = os.difftime,
|
difftime = os.difftime,
|
||||||
|
Loading…
Reference in New Issue
Block a user