Manual:$wgHiddenPrefs

Details
  is an array to disable certain pref>Special:MyLanguage/Help:Preferences|user preferences (preferences system was rewritten in 1.16).

This obsoletes   with the following code: