Board Thread:Lua Help/@comment-4405550-20160107031030/@comment-24473195-20160108135103

"I just don't want Wikia employees outside my house with knives and pitchforks because I set their servers on fire :/"

There are a lot of limiters in place for template (see wikipedia:wp:Template limits). So unless you use inherently problematic stuff like DPL you're not likely to ever affect the servers considerably.

"Since I'm no longer proposing the program make the changes itself, but just give helpful tips, the idea gets much simpler."

Well, feel free to develop the javascript gadget, since you obviously have the know-how. I'm sure someone here can possibly review the code once you post it somewhere. At worst we can at least get wikia to review it for free (for security issues).

Optimization is good, but the general guideline is that you don't optimize until you start getting performance issues, which you have already. If MediaWiki had proper database support. We would could use database normalization in this case, although I suppose you can possibly apply the same principles to the way you design the data modules. Just keep in mind that there  seems as if there is a limit of 100 "require" or "mw.loadData" possibly because it works in a similar manner to a regular "transclusion".