Thread:Project:Support desk/How to disable search engines to index api.php pages?

After updating Mediawiki to 1.22.13 I noticed that search engines indexed and put some pages to search results that not should be done. Pages looks like: api.php?action=parse&summary=Some+link&prop= api.php?action=query&list=alllinks&alunique=&alfrom=B So how can I disallow google and other search machines to stop indexing all api.php pages (there are thousand such api.php alike pages)?