Manual:$wgExemptFromUserRobotsControl

Details
An array of namespace keys in which the  /  magic words will not function, so users can't decide whether pages in that namespace are indexed by search engines. If set to null, default to  .

Example:

Or, to switch it off entirely: