Manual:$wgArticleRobotPolicies

From mediawiki.org
This page is a translated version of the page Manual:$wgArticleRobotPolicies and the translation is 75% complete.
ロボット ポリシー: $wgArticleRobotPolicies
ページごとにロボット ポリシーをカスタマイズできるようにする。
導入されたバージョン:1.11.0 (r22615)
除去されたバージョン:使用中
許容される値:(配列の各要素は、ページ名と文字列の対です)
既定値:[]

詳細

Allows you to set the robot policies for specific pages.

To get the meta element <meta name="robots" content="noindex,follow" /> for "Main Page" you will need to set:

$wgArticleRobotPolicies = [
    'Main Page' => 'noindex'
];


関連項目