Translations:Manual:$wgUser/4/en

The User object can be queried for things like the user's settings, name, etc.