Steps to replicate the issue (include links if applicable):
Add config to $wgConditionalUserOptions with CUDCOND_AFTER set to something that is not a valid timestamp:
$wgConditionalUserOptions['my-preference'] = [
[ 1, [ CUDCOND_AFTER, 'not-valid' ] ]
];What happens?:
This will cause any registered user's option default will resolve to 1, regardless of their registration date
What should have happened instead?:
The condition should not match in this situation, and a warning logged to help alert to this misconfiguration.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):