Skip to content

Commit 8a1ff98

Browse files
SomeMWDevhcooper
authored andcommitted
Fix usage of non-namespaced Html class alias (ProfessionalWiki#826)
Fixes compatibility with MW 1.44.
1 parent f4dfa3b commit 8a1ff98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/GeoJsonPages/GeoJsonNewPageUi.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
namespace Maps\GeoJsonPages;
66

77
use Maps\Presentation\OutputFacade;
8+
use MediaWiki\Html\Html;
89

910
class GeoJsonNewPageUi {
1011

@@ -18,7 +19,7 @@ public function addToOutput(): void {
1819
$this->output->addModules( 'ext.maps.geojson.new.page' );
1920

2021
$this->output->addHtml(
21-
\Html::element(
22+
Html::element(
2223
'button',
2324
[
2425
'id' => 'maps-geojson-new'

0 commit comments

Comments
 (0)