Manual:$wgArticleRobotPolicies/ru
Appearance
| Политика роботов: $wgArticleRobotPolicies | |
|---|---|
| Allow customisation of robot policies on a per-page basis. |
|
| Введено в версии: | 1.11.0 (r22615) |
| Удалено в версии: | всё ещё используется |
| Допустимые значения: | (each entry indicates a page name and a text string) |
| Значение по умолчанию: | [] |
| Другие настройки: По алфавиту | По функциональности | |
Details
Allows you to set the robot policies for specific pages.
- Example
To get the meta element <meta name="robots" content="noindex,follow" /> for "Main Page" you will need to set:
$wgArticleRobotPolicies = [
'Main Page' => 'noindex'
];