Manual:Noindex

Noindex can be used to prevent indexing of a page by search engines. Sample code would be:

Or, if one wished to be more selective:

There are also  and   magic words. To make these work for a given namespace, one may need to adjust $wgExemptFromUserRobotsControl. One can test whether they function for a given page using.

Allowing indexing by the Internet Archiver
Here is some code you can put in your LocalSettings.php if you want to allow the Internet Archiver to index even pages you've applied  to:

Disallow indexing of pages in certain categories
Here is some code you can put in your LocalSettings.php if you want to prevent pages in certain categories (in this example, Category:Abby, Category:Aubry, and Category:Emilee) from being indexed. To change the categories, change $wgNoIndexCategories: