Manual:PopulateIpChanges.php

Details
populateIpChanges.php will find all rows in the revision table where the user is an IP, and copy relevant fields to the  table. This backfilled data will then be available when querying for IP ranges at Special:Contributions.