If you only read the Wikimedia project websites, no more information is collected than is typically collected in server logs by web sites in general.
If you contribute to the Wikimedia projects, you are publishing every word you post publicly. If you write something, assume that it will be retained forever. This includes articles, user pages and talk pages. They may be deleted at some point, but assume they will not be.