Migrate EventLogging to "%{..}x"-style format specifiers

I introduced (and explained) "%{..}x"-style format specifiers in change
I07c6c7856 to mediawiki/extensions/EventLogging.git; see that change for my
rationale.

Change-Id: I2fbb5b74a1025598921c977ff9a221e1d4af251d