Avoid wgUser in AbuseFilterHooks edit handlers

Also a minor comment fix.
(Partly a follow up to Id998172)

Change-Id: Ie6a8f1e17afbf39a0aae7519fa7872504907223f
Merge "Avoid wgUser in AbuseFilterHooks edit handlers"