The OutputPage::makeResourceLoaderLink call for "user.groups" outputs:
mw.loader.state({"user.groups":"ready"});
instead of a <script src="..."> if the module is empty (saves an http request).
However the OutputPage::makeResourceLoaderLink call for "site" does not, that one always results in an http request even if Vector.js/Common.js are nonexistent.
Version: unspecified
Severity: enhancement