On Mon, Dec 2, 2013 at 1:41 PM, hoo <[email protected]> wrote:
> That way
> one could access its functionality directly as (maybe) mw.html.

Especially since it's a pure-Lua module, I think it would work better
if done along the same lines as the bit32 library currently in
Scribunto.[1]

The only difference then between using Module:HtmlBuilder and using
this new pure-lua module included in Scribunto would be that the
script would say "HtmlBuilder = require( 'HtmlBuilder' )" instead of
"HtmlBuilder = require( 'Module:HtmlBuilder' )".


 [1]: 
https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#bit32

-- 
Brad Jorsch (Anomie)
Software Engineer
Wikimedia Foundation

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to