2013/2/4 Brad Jorsch bjorsch@wikimedia.org:
You'd add your library object in Lua as a child of the "mw" object.
Sounds like same little mistake we are already "dealing" with in JavaScript, see: http://www.mediawiki.org/wiki/Manual_talk:Coding_conventions/JavaScript#Plac... Perhaps not too late to get this right in Scribunto from the beginning.