fix: disable Parsoid extension module support

Seems like it is preventing VE to open by somehow breaking Parsoid (restbase error 500) in MW 1.35.5.
Disabling it for now.
This commit is contained in:
alistair3149 2022-04-23 18:41:14 -04:00
parent 5df6a0f772
commit dc3cb203a3
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C
2 changed files with 1 additions and 20 deletions

View file

@ -130,6 +130,5 @@
]
}
},
"ParsoidModules": [ "TabberNeue\\Hooks" ],
"manifest_version": 2
}

View file

@ -6,9 +6,8 @@ namespace TabberNeue;
use MediaWiki\Hook\ParserFirstCallInitHook;
use Parser;
use Wikimedia\Parsoid\Ext\ExtensionModule;
class Hooks implements ExtensionModule, ParserFirstCallInitHook {
class Hooks implements ParserFirstCallInitHook {
/**
* @see https://www.mediawiki.org/wiki/Manual:Hooks/ParserFirstCallInit
*
@ -18,21 +17,4 @@ class Hooks implements ExtensionModule, ParserFirstCallInitHook {
$parser->setHook( 'tabber', Tabber::class . '::parserHook' );
$parser->setHook( 'tabbertransclude', TabberTransclude::class . '::parserHook' );
}
/**
* Return information about this Parsoid extension module
*
* @return array
*/
public function getConfig(): array {
return [
'name' => 'TabberNeue',
'tags' => [
[
'name' => 'tabber',
'handler' => TabberParsoid::class
]
]
];
}
}