Board Thread:General Discussion/@comment-45534093-20200419173319/@comment-9605025-20200420053748

You can do calculations in Lua, there is no need for JS. However, if you where to use the two, Lua would be executed first, then JS. As for TableWiz's example, he is showing you how to write a Lua module that acts like data in a database. To access the data, you would indeed need to have a Lua function for your pages to call.

In case you are unaware, MediaWiki (the core of this platform) incorporates Lua via an extension known as Scribuntu. This extension allows you to call Lua functions on pages using the following syntax:

You can find links to pages with detailed information at Help:Lua.