This is separated out from T318463: IP Info accordion should show up on the Special:DeletedContributions.
ArchivedRevisionHandler should return IP information, given an ID for a deleted revision.
Since there is already a lot of duplication between LogHandler and RevisionHandler, this would be a good time to refactor those classes and extract common permission checks, data filtering and logging into a parent class.