| Conditions | 3 |
| Paths | 2 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | protected function fillParserOutput( Title $title, $revId, ParserOptions $options, |
||
| 19 | $generateHtml, ParserOutput &$output ) { |
||
| 20 | |||
| 21 | if ( $generateHtml && $this->isValid() ) { |
||
| 22 | $output->setText( $this->getMapHtml( $this->beautifyJSON() ) ); |
||
| 23 | $output->addModules( 'ext.maps.leaflet.editor' ); |
||
| 24 | } else { |
||
| 25 | $output->setText( '' ); |
||
| 26 | } |
||
| 27 | } |
||
| 28 | |||
| 49 | } |