wiki.techinc.nl/tests/phpunit/unit/includes/user
Sergio Gimeno 37985a198d ConditionalDefaultsLookup: allow to dynamically add conditions for evaluation
Why:
To facilitate the evaluation of conditions not directly
"known" by the lookup, eg: owned by extensions

What:
- Add ConditionalDefaultOptionsAddCondition hook which
runs before instantiating ConditionalDefaultsLookup allowing
to add conditions for evaluation in the $extraConditions
array.
- Evaluate the configured conditional default against the
 extra added conditions after evaluation of "known"
conditions.

Bug: T376918
Change-Id: Ife6f96397eafd61fdb40528aac315ddde1ef2774
2024-10-16 17:39:12 +02:00
..
CentralId Add namespace to IDBAccessObject and DBAccessObjectUtils 2024-09-27 16:19:10 -04:00
Options ConditionalDefaultsLookup: allow to dynamically add conditions for evaluation 2024-10-16 17:39:12 +02:00
Registration Namespace User under \MediaWiki\User 2023-09-19 19:18:16 +00:00
TempUser Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
ActorCacheTest.php Remove all @package comments 2024-05-10 13:53:15 +02:00
ActorStoreFactoryTest.php Merge "Remove all @package comments" 2024-05-13 12:21:22 +00:00
UserArrayFromResultTest.php tests: Use namespaced class names in @covers annotations 2024-01-27 01:11:07 +01:00
UserGroupManagerFactoryTest.php
UserIdentityUtilsTest.php
UserIdentityValueTest.php
UserNamePrefixSearchTest.php block: Deprecate and stop using $wgBlockTargetMigrationStage 2024-05-10 15:54:17 +10:00
UserNameUtilsTest.php Deny temp account autocreation when temp accounts are disabled 2024-07-19 16:32:35 +00:00
UserTimeCorrectionTest.php