Translations:Manual:$wgNamespaceRobotPolicies/6/en

The default policy is given by $DefaultRobotPolicy, the array is made of namespace constants as defined in includes/Defines.php (see $ns) or the numeric identifier for the namespace.