Scribunto now has a built-in require( "strict" )
, inspired by this module. It was added in T209310.
Module talk:No globals/Flow
Please convert this module to use commons data
I modified the sandbox version and added documentation and unit tests. A site admin needs to copy sandboxed version into the main one.
Perhaps Mainframe98 can help in this.
@Yurik: is the sandboxed version ready? Should I just copy the contents of that sandbox to this module?
@Mainframe98 Yes, Module:No globals/sandbox is ready for all projects (if you have adminship anywhere else). I should probably file for adminship on mediawiki... I hope I would qualify :). Thanks! --~~~~
@Mainframe98 heh, caught in cross-update -- I added a one line comment just to explain why require is inlined. I just realized this could be a bit confusing. If you have a sec to update again. I will copy it to /sandboxes
Sure: