Without the default the preference is never deleted from the database,
even it was disabled by the user.
This can be tested by check "all" on Special:Search and save it for
future searches. After checking "none" and selecting the main namespace
and save it for future searches there still the other searchNS options
on the database.
Bug: T291748
Change-Id: Idb3a8774b82f5f27fbeda4537dfdacf59768e8c0
This is not really a manager, since it only supports
reading defaul options. Inroduced in 1.35 and not yet
used outside of core, so no deprecations are needed.
Change-Id: If67af54574d9c2e44ed85d1bdd098afd0a21e8f9
2020-05-11 12:19:13 -07:00
Renamed from tests/phpunit/includes/user/DefaultOptionsManagerTest.php (Browse further)