User:MZMcBride/what.js

function what( moduleName ) { console.dir( mw.loader.moduleRegistry[moduleName] ); }