Remove use of deprecated mw.user.name()

Use getName() instead.