I'm an admin on the Keep Talking and Nobody Explodes Wiki. For my latest project, I'm trying to gather pages from my wiki, and gather details from each one.
I'm thinking that the best way to accomplish this on my wiki is by using Lua + Scribunto. I'm very new to this coding language, and I'm struggling to find info that will let me accomplish my task.
The first thing I'm stuck on is trying to get an arbitrary page's wikitext. For example, I'd like to tap into any page on my wiki given its title/path in my wiki, and return its wikitext to gather info from.
I find the Lua manual and reference very hard to understand. In time I will get to understanding it properly, but for now I just want to know enough to solve my problem.
What code in Lua can I use to get a page's wikitext?
If you can, please also link me to relevant documents that would give me more info.