mw.loader: Log unknown modules in load() to console
authorTimo Tijhof <krinklemail@gmail.com>
Sat, 8 Jul 2017 04:29:36 +0000 (21:29 -0700)
committerBartosz Dziewoński <matma.rex@gmail.com>
Tue, 11 Jul 2017 15:40:54 +0000 (15:40 +0000)
commit12cca1c68e9803692a8f3cf71992f3cc96702cda
tree56c9f3cd7273ee254483427f452db67f33addffc
parent3b5b239e853c78114147a51b7c66b13e0ccd561d
mw.loader: Log unknown modules in load() to console

Follows-up If8ff31b530dfbd882. Now that we have resolveStubbornly,
we don't need to filter out unknown modules ahead of time.

Aside from removing the needless filter condition, it also has
the benefit of causing a message to be logged to the console,
which can help discover problems. Previously these were silently
ignored.

Change-Id: I700db4931dfd0a412a8eca66c4a74b8831ab0086
resources/src/mediawiki/mediawiki.js
tests/qunit/suites/resources/mediawiki/mediawiki.loader.test.js