From b0d52d6fd89d4ef7d80274e16122a06b1f574c56 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 24 Apr 2024 19:13:26 +0000 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=91=B7=20lint=20code=20to=20MediaWi?= =?UTF-8?q?ki=20standards?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Check commit and GitHub actions for more details --- includes/Tabber.php | 2 +- includes/TabberParsoid.php | 2 +- includes/TabberTransclude.php | 4 ++-- package-lock.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/includes/Tabber.php b/includes/Tabber.php index 3dc7b07..ecdea5d 100644 --- a/includes/Tabber.php +++ b/includes/Tabber.php @@ -152,7 +152,7 @@ class Tabber { // Legacy mode if ( self::$parseTabName ) { - $tabName = $parser->recursiveTagParseFully( $tabName ); + $tabName = $parser->recursiveTagParseFully( $tabName ); // Remove outer paragraph tags if ( substr( $tabName, 0, 3 ) == '

' ) { $tabName = substr( $tabName, 3 ); diff --git a/includes/TabberParsoid.php b/includes/TabberParsoid.php index 5492ccc..fd5920b 100644 --- a/includes/TabberParsoid.php +++ b/includes/TabberParsoid.php @@ -90,7 +90,7 @@ class TabberParsoid extends ExtensionTagHandler implements ExtensionModule { 'context' => 'inline', ] ], - true // sol + true // sol ) ); diff --git a/includes/TabberTransclude.php b/includes/TabberTransclude.php index 4629f54..7dc9606 100644 --- a/includes/TabberTransclude.php +++ b/includes/TabberTransclude.php @@ -127,9 +127,9 @@ class TabberTransclude { ); $utils = MediaWikiServices::getInstance()->getUrlUtils(); - $utils->expand( wfScript( 'api' ) . $query, PROTO_CANONICAL ); + $utils->expand( wfScript( 'api' ) . $query, PROTO_CANONICAL ); - $dataProps['load-url'] = $utils->expand( wfScript( 'api' ) . $query, PROTO_CANONICAL ); + $dataProps['load-url'] = $utils->expand( wfScript( 'api' ) . $query, PROTO_CANONICAL ); $oldTabBody = $tabBody; // Allow extensions to update the lazy loaded tab MediaWikiServices::getInstance()->getHookContainer()->run( diff --git a/package-lock.json b/package-lock.json index 768ad01..f3e8a85 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "TabberNeue", + "name": "mediawiki-extensions-TabberNeue", "lockfileVersion": 2, "requires": true, "packages": {