Manual:$wgNamespaceRobotPolicies/ru

This page is a translated version of the page Manual:$wgNamespaceRobotPolicies and the translation is 12% complete.
Политика роботов: $wgNamespaceRobotPolicies
Allow customisation of robot policies on a per-namespace basis.
Введено в версии:1.7.0 (r14559)
Удалено в версии:всё ещё используется
Допустимые значения:(each entry indicates a namespace and a text string)
Значение по умолчанию:[]

Details

Robot policies for namespaces, e.g. tag <meta name="robots" content="noindex,follow" />

e.g.

$wgNamespaceRobotPolicies[NS_TALK] = 'noindex';

The default policy is given by $wgDefaultRobotPolicy , the array is made of Руководство:Константы пространств имён as defined in includes/Defines.php (see Руководство:Пространство имён ) or the numeric identifier for the namespace.

См. также