Log whether edit was made via API and/or mobile site

Change-Id: Id9f6ff24227f8b1b822cfbac446c7bbe267c8a0a