Board Thread:Lua Help/@comment-166269-20150217184425

Dinoguy1000 wrote: Dessamator wrote: Perhaps it would be better to copy those modules to this wikia and debug them. I'm guessing this is an oft used template, and it seems to use javascript too (according to their talk page). Especially considerering that w:c:templates is doesn't seem interested in adopting or creating lua based templates.

I am definitely interested in getting Lua templates set up on Templates; the problem is that I don't know Lua myself: we need someone there who does and who would be willing to import and debug, or write and maintain, modules for it. Lack of interest is only a problem insofar as there's a much more general lack of interest in experienced template editors helping out on Templates. (Thread:5766)

Dessamator wrote: Well, lua-based templates rely on modules, and these can only be created by those with lua know-how. Despite it being a programming language, lua is quite easy to learn even by those with no programming background.

The best thing would be to setup small lua-based tutorials and lessons to introduce regular users to creating/debugging modules and templates. However, I agree that experienced lua programmers or scripters are necessary to help with that endeavour.

Perhaps a better solution would be to create a lua sub-forum here for these purposes which can then be linked to w:c:templates. That way the programmers here can help debug the most popular modules and someone can add them to the w:c:templates. (Thread:5766)

Dinoguy1000 wrote: I'm aware Lua uses modules rather than templates; I just don't see any real need to make the distinction in casual discussion between people who already understand this. =)

I don't know if Templates is really the ideal place for such materials; if it is, then it's already lacking in them for non-Lua templates, so that shouldn't be considered a sticking point here.

If you think that's what's needed, go for it, I suppose; I don't really have an opinion myself.

Speaking a bit more generally for a minute, I would like to see both Wikia-specific modules and Wikipedia modules that have been adapted to work on Wikia. This would be an extension of the tendency already present to feature two versions of templates, one from Wikipedia and one written specifically for Wikia. (Thread:5766)

Dessamator wrote: Well, I made the distinction because the Templates wikia stores templates, and modules are not necessarily templates, just functions that can be used by pages (which include templates).

I'm also not sure if Templates is the ideal place for it, as that is something the admins of templates.wikia.com should get behind and promote if they deem it necessary.

As far as wikia staff is concerned this  wikia seems to be designated place for lua-modules.

Anyway, I think we've basically hijacked this thread, and are largely off-topic. If you wish to pursue the idea of creating tutorials or adding support for it in Templates, perhaps another thread should be created for those purposes. (Thread:5766)


 * that is something the admins of templates.wikia.com should get behind and promote if they deem it necessary

Funny you should say that...


 * As far as wikia staff is concerned this  wikia seems to be designated place for lua-modules.

I hadn't thought about it really, but I would be fine with that distinction. Though obviously Lua modules for Templates.Wikia shouldn't be ruled out where it makes sense for the templates there to use a module. 