mediawiki-extensions-Popups/includes
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
..
PopupsContext.php Improve PHP code 2024-04-16 08:35:08 +00:00
PopupsGadgetsIntegration.php Use namespaced classes 2024-01-05 22:41:45 +01:00
PopupsHooks.php feature(Popups): Conditional User Defaults Implementation 2024-05-28 21:05:57 +00:00
ServiceWiring.php Add return type hint to functions in ServiceWiring.php 2024-02-01 19:18:16 +01:00