| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 37 | public function execute( $subPage ) { |
||
| 38 | $this->setHeaders(); |
||
| 39 | |||
| 40 | $outputPage = $this->getOutput(); |
||
| 41 | |||
| 42 | $outputPage->addHtml( |
||
| 43 | GoogleMapsService::getApiScript( |
||
| 44 | $this->getLanguage()->getCode(), |
||
| 45 | [ 'libraries' => 'drawing' ] |
||
| 46 | ) |
||
| 47 | ); |
||
| 48 | |||
| 49 | $outputPage->addModules( 'ext.maps.wikitext.editor' ); |
||
| 50 | $editorHtml = new MapEditorHtml( $this->getAttribs() ); |
||
| 51 | $html = $editorHtml->getEditorHtml(); |
||
| 52 | $outputPage->addHTML( $html ); |
||
| 53 | } |
||
| 54 | |||
| 71 |