Board Thread:Lua Help/@comment-23880286-20150814202613/@comment-24473195-20150815110110

Vogel100 wrote: How would I get a simple table with all pages in the category? The categorytree is useful to view the pages yourself, but for Lua not so much. Oh I think you misunderstood. I meant that having a library that can show pages within lua may cause performance problems for the servers if not implemented correctly.

Your implementation will not cause any problems at all, although using preprocess is generally not recommended because it defeats the purpose of having lua in the first place. But because the lua library is incomplete there is no other way.