Board Thread:Lua Help/@comment-1466854-20140820125533/@comment-1466854-20140825172326

Becer wrote: If I understand your problem well, what you have to do is take all of the important data and pull it from a lua data module instead of writing it in each individual page. This is in a way what I'm aiming to do with javascript. Unfortunately, the data I'm pulling from changes rather frequently as people update with new stats, and I can't reasonably cram the stat pages for 600+ spirits into a single template to alleviate the issue, much as I might want to.

Dessamator wrote:

I'm wondering though, is there anything in the lua functionality that allows users to actually write to a page? I hadn't considered the possibility that a lua template could somehow manage a page edit, but I highly doubt it could. If that was possible though, it would definitely solve the issue. Someone did find a solution to variable storage near the end of Thread:4968, but it seems like it would invite more problems than it solves, so I'll be steering clear of that unless it becomes truly necessary.

Dessamator wrote:

But I suppose bots can achieve all this. The greatest burden of technology is understanding when not to use it. Bots can do plenty, but they really are best used for large sweeping edits. For almost anything else, there are better solutions. The -best- solution for this entire issue would be just to have a small database the wiki could use. Databases would make things like this genuinely simple. On the other hand, I don't think that's a solution we're about to find available, for whatever reason.