Replace deprecated mw.user.name() with mw.user.getName()

Change-Id: I0e55917eb7cf7be24f7a2898bd2b67c7b46c2ee6