Manual:$wgHiddenPrefs

Details
$wgHiddenPrefs is an array to disable certain user preferences (preferences system was rewritten in 1.16).

This obsoletes $wgAllowRealName with the following code: