Set $wgLogActionsHandlers properly for back-compat strings

Bug: 66331
Change-Id: I26ea2eb18a236ebc8a664da90a3a746984426356