mirror of
https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue.git
synced 2024-11-24 00:13:28 +00:00
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:
parent
5df6a0f772
commit
dc3cb203a3
|
@ -130,6 +130,5 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"ParsoidModules": [ "TabberNeue\\Hooks" ],
|
||||
"manifest_version": 2
|
||||
}
|
||||
|
|
|
@ -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
|
||||
]
|
||||
]
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue