Board Thread:Code Review/@comment-24757753-20160428191600/@comment-24473195-20160501112404

Ah, I see, it works rather nicely.

One nifty trick you could use that would greatly increase the usefulness of the script is the infobox information about Javascript tools to create a gallery of importable scripts. This metadata is already acessible due to the fact that meta-data about portable infoboxes is already stored, as seen in Portable infoboxes. So all you'd need is an API query for Template:Infobox JavaScript to retrieve the data about all pages containing it, and then another API query to retrieve the page metadata for all of them.

You might even store the list in the wiki itself maybe with an "update script list" button, so you wouldn't need to use those requests each time. This would also give admins the opportunity to whitelist some scripts.