| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public function addToOutput() { |
||
| 18 | $this->output->addModules( 'ext.maps.geojson.new.page' ); |
||
| 19 | |||
| 20 | $this->output->addHtml( |
||
| 21 | \Html::element( |
||
| 22 | 'button', |
||
| 23 | [ |
||
| 24 | 'id' => 'maps-geojson-new' |
||
| 25 | ], |
||
| 26 | wfMessage( 'maps-geo-json-create-page-button' )->inContentLanguage()->text() |
||
| 27 | ) |
||
| 28 | ); |
||
| 29 | } |
||
| 30 | |||
| 32 |