diff --git a/includes/Tabber.php b/includes/Tabber.php index 7eabbf0..cbab2f7 100644 --- a/includes/Tabber.php +++ b/includes/Tabber.php @@ -16,7 +16,6 @@ namespace MediaWiki\Extension\TabberNeue; use Html; use InvalidArgumentException; -use JsonException; use MediaWiki\MediaWikiServices; use Parser; use PPFrame; @@ -146,7 +145,7 @@ class Tabber { // Insert a new line for these characters in wikitext (#151) // Seems like there is no way to get rid of the mw-empty-elt paragraphs sadly - $wikitextCharacters = [ '*', '#', ';', ':', '[' ]; + $wikitextCharacters = [ '*', '#', ';', ':', '[' ]; $needsNewLine = in_array( substr( $content, 0, 1 ), $wikitextCharacters ); if ( $needsNewLine ) { $content = "\n$content\n"; diff --git a/package-lock.json b/package-lock.json index 63efec8..06d0b36 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,10 +1,9 @@ { - "name": "TabberNeue", + "name": "mediawiki-extensions-TabberNeue", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "TabberNeue", "devDependencies": { "@wikimedia/types-wikimedia": "0.4.4", "eslint-config-wikimedia": "0.28.2",