Manual:$wgNamespaceRobotPolicies/ko
Appearance
| Robot policies: $wgNamespaceRobotPolicies | |
|---|---|
| Allow customisation of robot policies on a per-namespace basis. |
|
| 이 변수가 소개된 버전: | 1.7.0 (r14559) |
| 이 변수가 사라진 버전: | 계속해서 쓰이고 있음 |
| 허용값: | (each entry indicates a namespace and a text string) |
| 기본값: | [] |
| 기타 설정: 알파벳 순 | 기능별 순 | |
상세
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 Namespace constants as defined in includes/Defines.php (see 메뉴얼:이름공간) or the numeric identifier for the namespace.