Index: trunk/extensions/SemanticMaps/SemanticMaps.php |
— | — | @@ -68,6 +68,12 @@ |
69 | 69 | foreach ( array_keys( $egMapsServices ) as $name ) $services[] = wfMsg( 'maps_' . $name ); |
70 | 70 | $services_list = $wgLang->listToText( $services ); |
71 | 71 | |
| 72 | + // This function has been deprecated in 1.16, but needed for earlier versions. |
| 73 | + // It's present in 1.16 as a stub, but lets check if it exists in case it gets removed at some point. |
| 74 | + if ( function_exists( 'wfLoadExtensionMessages' ) ) { |
| 75 | + wfLoadExtensionMessages( 'SemanticMaps' ); |
| 76 | + } |
| 77 | + |
72 | 78 | $wgExtensionCredits['other'][] = array( |
73 | 79 | 'path' => __FILE__, |
74 | 80 | 'name' => wfMsg( 'semanticmaps_name' ), |