If you edit as a logged-in user, your IP address is only revealed if it gets checked by a CheckUser, a specific class of user who has access to the CheckUser logs. I have access to the CheckUser logs for one Wikimedia project, for instance.
Those lookups are themselves logged and have to be justified, and people aren't allowed to just go on fishing trips into that data - there has to be a plausible case for why someone is going to go look for them.
If you are editing in a non-controversial fashion and want to preserve your privacy, using an account is a much better way to do so than editing as an IP. If your are logged in, the only people who can see your IP are (hopefully) trusted users in response to a legitimate abuse request or one of the other criteria listed in the privacy policy and CheckUser policy. If you aren't logged in, everybody can see your IP address.
Those lookups are themselves logged and have to be justified, and people aren't allowed to just go on fishing trips into that data - there has to be a plausible case for why someone is going to go look for them.
If you are editing in a non-controversial fashion and want to preserve your privacy, using an account is a much better way to do so than editing as an IP. If your are logged in, the only people who can see your IP are (hopefully) trusted users in response to a legitimate abuse request or one of the other criteria listed in the privacy policy and CheckUser policy. If you aren't logged in, everybody can see your IP address.