# If you rename it, then you can access them through the new namespace name.
#
# Custom namespaces should start at 100.
-#$wgExtraNamespaces=
-# array(100 => "Hilfe",
+#$wgExtraNamespaces =
+# array(100 => "Hilfe",
# 101 => "Hilfe_Diskussion",
-# 102 =>"Aide",
-# 103 =>"Discussion_Aide"
+# 102 => "Aide",
+# 103 => "Discussion_Aide"
# );
+$wgExtraNamespaces = NULL;
# Enable SOAP interface. Off by default
# SOAP is a protocoll for remote procedure calls (RPC) using http as middleware.
NS_CATEGORY_TALK => 'Category_talk'
);
-if(isset($wgExtraNamespaces)) {
- $wgCanonicalNamespaceNames=$wgCanonicalNamespaceNames+$wgExtraNamespaces;
+if( defined( 'MEDIAWIKI' ) && is_array( $wgExtraNamespaces ) ) {
+ $wgCanonicalNamespaceNames = $wgCanonicalNamespaceNames + $wgExtraNamespaces;
}
/**