Index: trunk/extensions/SemanticMaps/includes/services/YahooMaps/SM_YahooMapsFormInput.php |
— | — | @@ -46,7 +46,7 @@ |
47 | 47 | */ |
48 | 48 | protected function addFormDependencies() { |
49 | 49 | global $wgOut; |
50 | | - global $smgScriptPath, $smgYahooFormsOnThisPage, $smgStyleVersion; |
| 50 | + global $smgScriptPath, $smgStyleVersion; |
51 | 51 | |
52 | 52 | $this->service->addDependency( Html::linkedScript( "$smgScriptPath/includes/services/YahooMaps/SM_YahooMapsForms.js?$smgStyleVersion" ) ); |
53 | 53 | $this->service->addDependencies( $wgOut ); |
Index: trunk/extensions/SemanticMaps/includes/services/OpenLayers/SM_OpenLayersFormInput.php |
— | — | @@ -24,7 +24,7 @@ |
25 | 25 | */ |
26 | 26 | protected function addFormDependencies() { |
27 | 27 | global $wgOut; |
28 | | - global $smgScriptPath, $smgOLFormsOnThisPage, $smgStyleVersion; |
| 28 | + global $smgScriptPath, $smgStyleVersion; |
29 | 29 | |
30 | 30 | $this->service->addDependency( Html::linkedScript( "$smgScriptPath/includes/services/OpenLayers/SM_OpenLayersForms.js?$smgStyleVersion" ) ); |
31 | 31 | $this->service->addDependencies( $wgOut ); |
Index: trunk/extensions/SemanticMaps/includes/services/GoogleMaps/SM_GoogleMapsFormInput.php |
— | — | @@ -1,23 +1,9 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | 4 | /** |
5 | | - * File holding the SMGoogleMapsFormInput class. |
6 | | - * |
7 | | - * @file SM_GoogleMapsFormInput.php |
8 | | - * @ingroup SMGoogleMaps |
9 | | - * |
10 | | - * @author Jeroen De Dauw |
11 | | - * @author Robert Buzink |
12 | | - * @author Yaron Koren |
13 | | - */ |
14 | | - |
15 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
16 | | - die( 'Not an entry point.' ); |
17 | | -} |
18 | | - |
19 | | -/** |
20 | 5 | * Class for Google Maps v2 form inputs. |
21 | 6 | * |
| 7 | + * @file SM_GoogleMapsFormInput.php |
22 | 8 | * @ingroup SMGoogleMaps |
23 | 9 | * |
24 | 10 | * @author Jeroen De Dauw |
— | — | @@ -50,7 +36,7 @@ |
51 | 37 | */ |
52 | 38 | protected function addFormDependencies() { |
53 | 39 | global $wgOut; |
54 | | - global $smgScriptPath, $smgGoogleFormsOnThisPage, $smgStyleVersion; |
| 40 | + global $smgScriptPath, $smgStyleVersion; |
55 | 41 | |
56 | 42 | $this->service->addDependency( Html::linkedScript( "$smgScriptPath/includes/services/GoogleMaps/SM_GoogleMapsForms.js?$smgStyleVersion" ) ); |
57 | 43 | $this->service->addDependencies( $wgOut ); |