Index: trunk/extensions/SemanticMaps/Services/YahooMaps/SM_YahooMapsQP.php |
— | — | @@ -35,7 +35,7 @@ |
36 | 36 | protected function doMapServiceLoad() { |
37 | 37 | global $egYahooMapsOnThisPage, $wgParser; |
38 | 38 | |
39 | | - MapsYahooMaps::addDependencies( $wgParser ); |
| 39 | + $this->mService->addDependencies( $wgParser ); |
40 | 40 | $egYahooMapsOnThisPage++; |
41 | 41 | |
42 | 42 | $this->elementNr = $egYahooMapsOnThisPage; |
Index: trunk/extensions/SemanticMaps/Services/YahooMaps/SM_YahooMapsFormInput.php |
— | — | @@ -38,7 +38,7 @@ |
39 | 39 | global $wgOut; |
40 | 40 | global $smgScriptPath, $smgYahooFormsOnThisPage, $smgStyleVersion, $egMapsJsExt; |
41 | 41 | |
42 | | - MapsYahooMaps::addDependencies( $wgOut ); |
| 42 | + $this->mService->addDependencies( $wgOut ); |
43 | 43 | |
44 | 44 | if ( empty( $smgYahooFormsOnThisPage ) ) { |
45 | 45 | $smgYahooFormsOnThisPage = 0; |
Index: trunk/extensions/SemanticMaps/Services/OpenLayers/SM_OpenLayersQP.php |
— | — | @@ -37,7 +37,7 @@ |
38 | 38 | protected function doMapServiceLoad() { |
39 | 39 | global $wgParser, $egOpenLayersOnThisPage; |
40 | 40 | |
41 | | - MapsOpenLayers::addDependencies( $wgParser); |
| 41 | + $this->mService->addDependencies( $wgParser); |
42 | 42 | $egOpenLayersOnThisPage++; |
43 | 43 | |
44 | 44 | $this->elementNr = $egOpenLayersOnThisPage; |
Index: trunk/extensions/SemanticMaps/Services/OpenLayers/SM_OpenLayersFormInput.php |
— | — | @@ -37,7 +37,7 @@ |
38 | 38 | global $wgOut; |
39 | 39 | global $smgScriptPath, $smgOLFormsOnThisPage, $smgStyleVersion, $egMapsJsExt; |
40 | 40 | |
41 | | - MapsOpenLayers::addDependencies( $wgOut ); |
| 41 | + $this->mService->addDependencies( $wgOut ); |
42 | 42 | |
43 | 43 | if ( empty( $smgOLFormsOnThisPage ) ) { |
44 | 44 | $smgOLFormsOnThisPage = 0; |
Index: trunk/extensions/SemanticMaps/Services/GoogleMaps/SM_GoogleMapsQP.php |
— | — | @@ -49,7 +49,7 @@ |
50 | 50 | |
51 | 51 | if ( empty( $egGoogleMapsOnThisPage ) ) { |
52 | 52 | $egGoogleMapsOnThisPage = 0; |
53 | | - MapsGoogleMaps::addDependencies( $wgParser ); |
| 53 | + $this->mService->addDependencies( $wgParser ); |
54 | 54 | } |
55 | 55 | |
56 | 56 | $egGoogleMapsOnThisPage++; |
Index: trunk/extensions/SemanticMaps/Services/GoogleMaps/SM_GoogleMapsFormInput.php |
— | — | @@ -41,7 +41,7 @@ |
42 | 42 | global $wgOut; |
43 | 43 | global $smgScriptPath, $smgGoogleFormsOnThisPage, $smgStyleVersion, $egMapsJsExt; |
44 | 44 | |
45 | | - MapsGoogleMaps::addDependencies( $wgOut ); |
| 45 | + $this->mService->addDependencies( $wgOut ); |
46 | 46 | |
47 | 47 | if ( empty( $smgGoogleFormsOnThisPage ) ) { |
48 | 48 | $smgGoogleFormsOnThisPage = 0; |