Manual:$wgPutIPinRC

Details
Log IP addresses in the recentchanges table. There is no interface for retrieving this info, however - it can only be accessed by extensions (e.g. CheckUser) or a DB admin.