Board Thread:Lua Help/@comment-4405550-20160124224015/@comment-24473195-20160207131259

Sounds like a good idea. Although parsing templates from pages can be tricky. I wonder if there is an equivalent mwparserfromhell for node.js.

"The API can also return a list of all the template calls make while parsing, which can be useful when preprocessing a page."

Do you mean something like what is described in this thread?: https://www.mediawiki.org/w/index.php?title=Topic:Stsdy2duez1d92zd&action=history

It is a nifty tool that can get template dependencies. I'm thinking of adding it to the lua previewer or a standalone tool that will show up in module pages and will help determine their dependencies for easier debugging.