mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-27 17:00:37 +00:00
1697cb9a65
* Explain the difference between the two hooks that both set config vars. * Remove by-ref & that are not needed. This is a non-breaking change. Even if the code calling a hook handler provides a variable by reference, the hook handler being called does not need to require a reference. Removing these & makes the code less confusing and easier to read. * Replace an OutputPage type hint with a more narrow IContextSource. That's all this code actually needs to know. It doesn't need access to the entire OutputPage, so it doesn't need to require it. * Update the signature of the ResourceLoaderGetConfigVars handler to match the caller. Bug: T215896 Change-Id: Ie1e4b50cd954812f71dd628003b8e9d40fdf5fe8 |
||
---|---|---|
.. | ||
EventLogging | ||
PopupsContextTest.php | ||
PopupsContextTestWrapper.php | ||
PopupsGadgetsIntegrationTest.php | ||
PopupsHooksTest.php | ||
UserPreferencesChangeHandlerTest.php |