From COKS - Open Source Center - Slovenia
Every time you visit a web page, you send a lot of information to the web server. Most web servers routinely maintain access logs with a portion of this information, which can be used to get an overall picture of what pages are popular, what other sites link to this one, and what web browsers people are using. It is not the intention of the Wikimedia projects to use this information to keep track of legitimate users.
These logs are used to produce the site statistics pages; the raw log data is not made public, and is normally discarded after about two weeks.
Here's a sample of what's logged for one page view:
184.108.40.206 - - [21/Oct/2003:02:03:19 +0000] "GET /wiki/draft_privacy_policy HTTP/1.1" 200 18084 "https://en.wikipedia.org/wiki/Wikimedia_projects:Village_pump" "Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/85.7 (KHTML, like Gecko) Safari/85.5"
Log data may be examined by developers in the course of solving technical problems and in tracking down badly-behaved web spiders that overwhelm the site. IP addresses of users, derived either from those logs or from records in the database are frequently used to correlate usernames and network addresses of edits in investigating abuse of the en.coks.si