siddharthvp/mwn

Add function or class to process templates in wikitext

Closed this issue · 0 comments

Processing templates in wikitext is a frequent bot requirement. While API:Parse lets us know the templates present in wikitext, it recursively includes the templates within the templates, and doesn't tell us what parameters were used.

Port the stuff from https://en.wikipedia.org/wiki/MediaWiki:Gadget-libExtraUtil.js written by @evad37 and myself.