Index: branches/SemanticMaps0.8/includes/forminputs/SM_FormInput.php |
— | — | @@ -102,7 +102,7 @@ |
103 | 103 | } |
104 | 104 | } |
105 | 105 | |
106 | | - $parameters['locations'] = '1,1;42,42';//$coordinates; |
| 106 | + $parameters['locations'] = $coordinates; |
107 | 107 | |
108 | 108 | $validator = new Validator( wfMsg( 'maps_' . $this->service->getName() ), false ); |
109 | 109 | $validator->setParameters( $parameters, $this->getParameterInfo() ); |
— | — | @@ -122,7 +122,7 @@ |
123 | 123 | |
124 | 124 | $this->service->addResourceModules( $this->getResourceModules() ); |
125 | 125 | |
126 | | - if ( $wgTitle->isSpecialPage() ) { |
| 126 | + if ( true /* !is_null( $wgTitle ) && $wgTitle->isSpecialPage() */ ) { // TODO |
127 | 127 | global $wgOut; |
128 | 128 | $this->service->addDependencies( $wgOut ); |
129 | 129 | } |