ci: 👷 lint code to MediaWiki standards

Check commit and GitHub actions for more details
这个提交包含在:
github-actions 2024-04-24 19:13:26 +00:00
父节点 7b1c319e24
当前提交 b0d52d6fd8
共有 4 个文件被更改,包括 5 次插入5 次删除

查看文件

@ -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 ) == '<p>' ) {
$tabName = substr( $tabName, 3 );

查看文件

@ -90,7 +90,7 @@ class TabberParsoid extends ExtensionTagHandler implements ExtensionModule {
'context' => 'inline',
]
],
true // sol
true // sol
)
);

查看文件

@ -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(

2
package-lock.json 自动生成的
查看文件

@ -1,5 +1,5 @@
{
"name": "TabberNeue",
"name": "mediawiki-extensions-TabberNeue",
"lockfileVersion": 2,
"requires": true,
"packages": {