Re: [Wikitech-l] The mw.ext construct in lua modules

2019-02-02 Thread Greg Rundlett (freephile)
Sound proposal in my opinion. Greg Rundlett https://eQuality-Tech.com https://freephile.org On Sat, Feb 2, 2019 at 8:32 AM Eran Rosenthal wrote: > I agree with John, and I think mw.ext.EXTNAME should be avoided and we > should prefer mw.EXTNAME which is clear and simple and fills very native.

Re: [Wikitech-l] The mw.ext construct in lua modules

2019-02-02 Thread Eran Rosenthal
I agree with John, and I think mw.ext.EXTNAME should be avoided and we should prefer mw.EXTNAME which is clear and simple and fills very native. This is already the way it is used in wikibase (mw.wikibase.FUNCNAME) which I believe is the most heavily used extension exposing Lua interface. To