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(
|
||||
self.protectedEnvironments, self.protectedFunctions )
|
||||
|
||||
-- env.debug = {
|
||||
-- traceback = debug.traceback
|
||||
-- }
|
||||
-- XOWA:uncommented env.debug; ISSUE#:475; DATE:2019-06-02
|
||||
env.debug = {
|
||||
traceback = debug.traceback
|
||||
}
|
||||
env.os = {
|
||||
date = os.date,
|
||||
difftime = os.difftime,
|
||||
|
Loading…
Reference in New Issue
Block a user