mediawiki-extensions-Popups/tests/phpunit
Moh'd Khier Abualruz a75ddc4173 feature(Popups): Conditional User Defaults Implementation
Implement conditional defaults for user preferences in the Popups
component.
This patch aims to simplify the preference management system by
leveraging conditional logic directly within the component rather
than relying on multiple hooks

Changes:
- Updated `extension.json` to reflect the removal of outdated hooks.
- Updated `extension.json` to reflect the conditional user defaults.
- Removed unused user option `popupsreferencepreviews` from
 `extension.json`
- Modified `PopupsHooks` to streamline the preferences management,
 and depend on conditional user defaults, and removing `onUserGetDefaultOptions` and `onLocalUserCreated` hooks.
- Removed unneeded test cases in `PopupsHooksTest`.

Bug: T364347
Change-Id: Iae454e4b4704a0289ca0a2b0794730562fda0dd1
2024-05-28 21:05:57 +00:00
..
PopupsContextTest.php Use namespaced classes 2024-01-05 22:41:45 +01:00
PopupsContextTestWrapper.php Use namespaced classes 2024-01-05 22:41:45 +01:00
PopupsGadgetsIntegrationTest.php Use more trivial HashConfig in tests 2024-04-24 13:13:13 +02:00
PopupsHooksTest.php feature(Popups): Conditional User Defaults Implementation 2024-05-28 21:05:57 +00:00