Index: trunk/extensions/Maps/Maps.i18n.php |
— | — | @@ -23,6 +23,7 @@ |
24 | 24 | 'maps-loading-map' => 'Loading map...', |
25 | 25 | 'maps-markers' => 'Markers', |
26 | 26 | 'maps-ns-layer' => 'Layer', |
| 27 | + 'maps-ns-layer-talk' => 'Layer talk', |
27 | 28 | |
28 | 29 | // Validation |
29 | 30 | 'validation-error-invalid-location' => 'Parameter $1 must be a valid location.', |
Index: trunk/extensions/Maps/Maps.php |
— | — | @@ -136,7 +136,8 @@ |
137 | 137 | // Include the settings file. |
138 | 138 | require_once $egMapsDir . 'Maps_Settings.php'; |
139 | 139 | |
140 | | - define( 'Maps_NS_LAYER', $egMapsNamespaceIndex + 0 ); |
| 140 | + define( 'Maps_NS_LAYER', $egMapsNamespaceIndex + 0 ); |
| 141 | + define( 'Maps_NS_LAYER_TALK', $egMapsNamespaceIndex + 1 ); |
141 | 142 | } |
142 | 143 | |
143 | 144 | /** |
— | — | @@ -158,11 +159,13 @@ |
159 | 160 | } |
160 | 161 | |
161 | 162 | $wgExtraNamespaces += array( |
162 | | - Maps_NS_LAYER => 'Layer' |
| 163 | + Maps_NS_LAYER => 'Layer', |
| 164 | + Maps_NS_LAYER_TALK => 'Layer talk' |
163 | 165 | ); |
164 | 166 | |
165 | 167 | $wgNamespaceAliases += array( |
166 | | - wfMsg( 'maps-ns-layer' ) => Maps_NS_LAYER |
| 168 | + wfMsg( 'maps-ns-layer' ) => Maps_NS_LAYER, |
| 169 | + wfMsg( 'maps-ns-layer-talk' ) => Maps_NS_LAYER_TALK |
167 | 170 | ); |
168 | 171 | |
169 | 172 | wfRunHooks( 'MappingServiceLoad' ); |