*/
$wgNamespaceProtection[NS_MEDIAWIKI] = 'editinterface';
+/**
+ * The canonical names of namespaces 6 and 7 are, as of v1.14, "File"
+ * and "File_talk". The old names "Image" and "Image_talk" are
+ * retained as aliases for backwards compatibility.
+ */
+$wgNamespaceAliases['Image'] = NS_IMAGE;
+$wgNamespaceAliases['Image_talk'] = NS_IMAGE_TALK;
+
/**
* Initialise $wgLocalFileRepo from backwards-compatible settings
*/
/**
* Array of namespace aliases, mapping from name to NS_xxx index
*/
-$namespaceAliases = array(
- 'Image' => NS_IMAGE,
- 'Image_talk' => NS_IMAGE_TALK,
-);
+$namespaceAliases = array();
/**
* Skin names. If any key is not specified, the English one will be used.