Thread:Extension talk:Scribunto/getmetatable ()

The docs say that, unlike standard Lua,  will return non-  only for tables. Does it apply to Lua in Module: namespace only or to Lua code in files (as may be included by MediaWiki extensions) as well?