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

Dinoguy1000 wrote: Well, considering I meant specifically looking at modules that are already in use on Wikipedia and are thus more likely to be asked about here, that's probably a given. =)

Any list or the like that's kept here should also note the revision that was copied for a given module, with a link to that revision on Wikipedia, and document whether more recent revisions have been tested yet.

Good idea.

Dinoguy1000 wrote:

I'm well aware of Wikia's use of an older MW release, believe me. =) And unfortunately, it isn't always possible to emulate newer API calls and functions, so that's something we'll have to watch for as well -

Indeed, that's what happened to the Module:Navbox we were helping that user to convert. That API call (mw.getcurrentFrame.getTitle) simply can't be converted.

Dinoguy1000 wrote:

we should maintain a list of features that cannot be recreated in a module, probably also indicating which modules on Wikipedia are known to rely on those features to simplify updating here when such features are backported to Wikia or otherwise added (on that note, there should also be a list of features that have been emulated and the modules that rely on them, to simplify performing updates in that area as needed as well).

True, there'll likely have to be set categories for each module, (e.g. stable,beta, incompatible, Rewrite needed, etc.) or we could simply use wikipedia's categories.

Perhaps a list of guidelines for converting or importing wikipedia's modules should be created. Another page could be created for conversion requests, and the relevant sub-forum (topic page, e.g. http://dev.wikia.com/wiki/Topic:Lua_templating or http://dev.wikia.com/wiki/Lua_templating/Converting_Wikipedia_templates) would be used for discussion or collaboration.