Index: trunk/extensions/SemanticMaps/Services/YahooMaps/SM_YahooMapsFormInput.php |
— | — | @@ -102,12 +102,11 @@ |
103 | 103 | |
104 | 104 | /** |
105 | 105 | * @see SMFormInput::manageGeocoding() |
106 | | - * |
107 | 106 | */ |
108 | 107 | protected function manageGeocoding() { |
109 | 108 | global $egYahooMapsKey; |
110 | 109 | $this->enableGeocoding = strlen( trim( $egYahooMapsKey ) ) > 0; |
111 | | - if ( $this->enableGeocoding ) MapsYahooMaps::addYMapDependencies( $this->output ); |
| 110 | + if ( $this->enableGeocoding ) $this->mService->addDependencies( $this->output ); |
112 | 111 | } |
113 | 112 | |
114 | 113 | } |
\ No newline at end of file |
Index: trunk/extensions/SemanticMaps/Services/GoogleMaps/SM_GoogleMapsQP.php |
— | — | @@ -103,7 +103,6 @@ |
104 | 104 | ); |
105 | 105 | EOT |
106 | 106 | ) ); |
107 | | - |
108 | 107 | } |
109 | 108 | |
110 | 109 | /** |
Index: trunk/extensions/SemanticMaps/Services/GoogleMaps/SM_GoogleMapsFormInput.php |
— | — | @@ -115,7 +115,7 @@ |
116 | 116 | protected function manageGeocoding() { |
117 | 117 | global $egGoogleMapsKey, $wgParser; |
118 | 118 | $this->enableGeocoding = $egGoogleMapsKey != ''; |
119 | | - if ( $this->enableGeocoding ) MapsGoogleMaps::addGMapDependencies( $wgParser ); |
| 119 | + if ( $this->enableGeocoding ) $this->mService->addDependencies( $wgParser ); |
120 | 120 | } |
121 | 121 | |
122 | 122 | } |
\ No newline at end of file |
Index: trunk/extensions/SemanticMaps/SemanticMaps.i18n.php |
— | — | @@ -14,7 +14,6 @@ |
15 | 15 | /** English |
16 | 16 | * @author Jeroen De Dauw |
17 | 17 | */ |
18 | | - |
19 | 18 | $messages['en'] = array( |
20 | 19 | // General |
21 | 20 | 'semanticmaps_name' => 'Semantic Maps', |