To avoid turning on this feature for "old" users, we set the default to be disabled/false/off.
We then have a hook that runs when an account is created to turn the preference on.
This hook also runs when an existing user logs into a 2nd wiki (or 3rd, 4th...).
We don't check at that point if the user is a new user who was defaulted into the feature, or an old user who we left the feature off for, instead we assume they are an old user and don't turn on the feature.
We copied this code from Echo, which also has a set of preference for new users, so this bug will be present there too.
QA
- Create an account an en.wiki
- Observe automatic topic subscriptions are enabled
- Go to fr.wiki and look at your prefs
- Observe automatic topic subscriptions are disabled Expected: enabled