mirror of
https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue.git
synced 2024-11-24 00:13:28 +00:00
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
This commit is contained in:
parent
7b1c319e24
commit
b0d52d6fd8
|
@ -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
generated
2
package-lock.json
generated
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "TabberNeue",
|
||||
"name": "mediawiki-extensions-TabberNeue",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
|
|
Loading…
Reference in a new issue