Correctly accessing entity object for anon edit warning

Change I40bcc945610fe6f32e89fc12ea3b0def3126317a caused building a wrong message key
for the anonymous edit warning. This change set adds a default edit warning as fallback.

Change-Id: Ib3eddeffcda90f5ffe9f86bff968c00af34dd4ff
Merge "Correctly accessing entity object for anon edit warning"