I'd say that is a great idea ! No matter what template you are building, you probably need to output Html, so this should be suited for core inclusion. We probably should consult User:Toohool though, who originally wrote the module, with regard to how to license the code.
DJ On Mon, Dec 2, 2013 at 8:23 PM, Brad Jorsch (Anomie) <[email protected]>wrote: > 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 > _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
