If you make use of interfaces provided by a module, you must add a dependency on that module.
I must have misunderstood something. If all dependencies have to be declared then why does ResourcesTest::testIllegalDependencies() explicitly complain about 'jquery' and 'mediawiki'?
--
Brad Jorsch (Anomie) Software Engineer Wikimedia Foundation