Manual:$wgNamespaceRobotPolicies

Details
Robot policies for namespaces, e.g. tag
 * e.g. $wgNamespaceRobotPolicies = array( NS_TALK => 'noindex' );