On Thu, Jan 12, 2012 at 7:55 AM, Tom Hutchison tom@hutch4.us wrote:
NS_MY_WIKI_NAME, NS_My_Wiki_Name, 'NS_My Wiki Name' (had to use ' ' to enclose, 500 error without), and every variation I can think of, but it still excludes the Wiki's NameSpace. I even tried %20 in between.
The value you use is the namespace number, not its name. If you want to use its name, you have to define a constant for it first. See http://www.mediawiki.org/wiki/Manual:Using_custom_namespaces
define('NS_MY_WIKI_NAME', 10000); $wgExtraNamespaces[NS_MY_WIKI_NAME] = 'My_Wiki_Name'; $wgNamespaceRobotPolicies[NS_MY_WIKI_NAME] = 'index,follow';