Index: trunk/phase3/includes/Setup.php |
— | — | @@ -68,6 +68,14 @@ |
69 | 69 | $wgNamespaceProtection[NS_MEDIAWIKI] = 'editinterface'; |
70 | 70 | |
71 | 71 | /** |
| 72 | + * The canonical names of namespaces 6 and 7 are, as of v1.14, "File" |
| 73 | + * and "File_talk". The old names "Image" and "Image_talk" are |
| 74 | + * retained as aliases for backwards compatibility. |
| 75 | + */ |
| 76 | +$wgNamespaceAliases['Image'] = NS_IMAGE; |
| 77 | +$wgNamespaceAliases['Image_talk'] = NS_IMAGE_TALK; |
| 78 | + |
| 79 | +/** |
72 | 80 | * Initialise $wgLocalFileRepo from backwards-compatible settings |
73 | 81 | */ |
74 | 82 | if ( !$wgLocalFileRepo ) { |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -101,10 +101,7 @@ |
102 | 102 | /** |
103 | 103 | * Array of namespace aliases, mapping from name to NS_xxx index |
104 | 104 | */ |
105 | | -$namespaceAliases = array( |
106 | | - 'Image' => NS_IMAGE, |
107 | | - 'Image_talk' => NS_IMAGE_TALK, |
108 | | -); |
| 105 | +$namespaceAliases = array(); |
109 | 106 | |
110 | 107 | /** |
111 | 108 | * Skin names. If any key is not specified, the English one will be used. |