Manual:$wgArticleRobotPolicies

Details
Robot policies for articles, e.g. tag
 * e.g. $wgArticleRobotPolicies = array( 'Main Page' => 'noindex' );