Manual:$wgPutIPinRC

Details
Log IP addresses in the recentchanges table.