Using FauxRequest with APIs that change something (like action="edit") causes this action to be logged without User Agent and with 127.0.0.1 as the IP address.
Maybe FauxRequest should have also FauxUserAgent to help track this down?
Example fix for WikiLove is in r112758.
Version: 1.19
Severity: minor
URL: https://meta.wikimedia.org/wiki/Special:Contributions/127.0.0.1
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=43603