mediawiki.user: Simplify callback

Change-Id: I180e65e219b96b326ce1d33f35fd050ec1af565b
Merge "mediawiki.user: Simplify callback"