Help:Controlling search engine indexing/ru

There are a variety of ways in which MediaWiki allows users to attempt to control search engine indexing, commonly termed "noindexing", as the default position is that pages are indexed. Most of the methods rely on using the noindex HTML meta tag, which tells search engines not to index certain pages. Respecting the tag, or the robots.txt file, especially in terms of removing already indexed content, is up to the individual search engine, and in theory they may be ignored entirely.

Способами управления являются:


 * 1) Controlling an entire namespace, via MediaWiki software settings
 * 2) Controlling classes of pages, via MediaWiki:Robots.txt
 * 3) Controlling individual pages by adding the  __NOINDEX__  magic word into them, either directly or using a template made to contain it.
 * 4) Controlling pages by adding the  __NOINDEX__  magic word into standard templates used in certain situations.

Настройки системы
Все пространство имен может быть неиндексируемое через $wgNamespaceRobotPolicies.

В то же время,  __NOINDEX__  может быть отключен в определенных пространствах имен. Это управляется с помощью параметра настроек системы MediaWiki $wgExemptFromUserRobotsControl, который по умолчанию $wgContentNamespaces.

$wgArticleRobotPolicies может использоваться для указания различных политик отдельным страницам.

Robots.txt неиндексирование (noindex)
[[MediaWiki:Robots.txt|Robots.txt]] может быть использован для неиндексирования страниц. В отличие от настроек системы, его можно отредактировать через MediaWiki на странице MediaWiki:Robots.txt.

Отдельные страницы
Individual pages can be noindexed by adding the  __NOINDEX__  magic word into that page. This can be done either directly or using a template designed to contain the magic word (eg NOINDEX); this can make use of the keyword easier to track.

Pages with the keyword are tracked by MediaWiki, and automatically categorized in a tracking category. The category name is determined by MediaWiki:Noindex-category.

Стандартный шаблон неиндексации
Standard templates can include the  __NOINDEX__  keyword, thereby noindexing pages to which the templates are applied. A template used to flag a particularly sensitive type of page can then automatically noindex it.

Отдельные страницы
Individual pages can override namespace noindexing by adding the  __INDEX__  magic word into that page. Pages with the keyword are tracked by MediaWiki, and automatically categorized in a tracking category. The category name is determined by MediaWiki:Index-category. However, INDEX does not override noindexing via MediaWiki:Robots.txt. It does override $wgArticleRobotPolicies.

Существующие проблемы

 * – "Create an  __NOINDEX__  equivalent to prevent indexing by internal search engine"