It would be great to have a JavaScript variable containing the templates a page uses, similar to the new wgCategories variable. It should be an array with the data presented in the templatesUsed section below the edit box.
Version: unspecified
Severity: enhancement