Add method for inspecting module dependency relations
authorOri Livneh <ori@wikimedia.org>
Sun, 13 Oct 2013 21:22:51 +0000 (14:22 -0700)
committerOri Livneh <ori@wikimedia.org>
Mon, 21 Oct 2013 04:11:36 +0000 (21:11 -0700)
commit55d65ad807d817ecb022be7d5eb01b2146f94740
tree61a22ecd4b749e752279fffeaac4aef6e1581f4f
parent678d976f0b646c98ca679f0dbb47602da72a947c
Add method for inspecting module dependency relations

This patch adds mw.inspect#getDependencyGraph, which returns an object
enumerating all the modules that a given module requires and all the modules
that require the given module. There is no special console report associated
with this method.

Change-Id: Ib234c2c8bbbf8f34860b04e8d299b6923f4775ef
resources/mediawiki/mediawiki.inspect.js