mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-23 23:24:39 +00:00
b01e11c1f9
When EventLogging is unavailable do not initialise the EL-related code or try to send any events. When EL is enabled for a brand new user we request an additional module during boot causing an additional HTTP request. Page Previews continues to boot normally regardless of whether the request fails. This approach doesn't impact boot or first paint time. Once the module is loaded once it should be cached locally, subject to the ResourceLoader's policy. Moreover, the RL will not attempt to load the module twice so this doesn't impact the performance of other modules. Bug: T158999 Change-Id: I7ed7f00d52279151ece23e5aced4f2adb0f7fdc3 |
||
---|---|---|
.. | ||
dist | ||
ext.popups | ||
ext.popups.images |