Thread:Project:Support desk/How to block robots for more namespace?

Manual:$wgNamespaceRobotPolicies ← I read this page, and then block NS_CATEGORY for better SEO and less Content theft.

If I want to block these four namespace NS_CATEGORY NS_MEDIAWIKI NS_TEMPLATE NS_MEDIA

How should I write in Localsettings.php?

$wgNamespaceRobotPolicies = array( NS_CATEGORY => 'noindex' NS_MEDIAWIKI => 'noindex' NS_TEMPLATE => 'noindex' NS_MEDIA => 'noindex' ); ? OR $wgNamespaceRobotPolicies = array( NS_CATEGORY => 'noindex', NS_MEDIAWIKI => 'noindex', NS_TEMPLATE => 'noindex', NS_MEDIA => 'noindex' ); ?