Translations:Manual:$wgDefaultUserOptions/114/en

Add 'searchnamespaces' to $5 to prevent users from customizing “namespaces to be searched by default” in their preferences (they will still be able to set which namespaces should be searched on Special:Search).