Parsoid
A bidirectional parser between wikitext and HTML5
|
A Parsoid native extension module. More...
Public Member Functions | |
getConfig () | |
Return information about this extension module. | |
A Parsoid native extension module.
This bundles up the configuration for a number of different ExtensionTagHandlers, ContentModelHandlers, and DomProcessors into one registered object. The only method required is getConfig
.
FIXME: This might be created on-demand by configuration data specified in extension.json.
Wikimedia\Parsoid\Ext\ExtensionModule::getConfig | ( | ) |
Return information about this extension module.
FIXME: Add more expected fields or create a class for this FIXME: The 'name' is expected to be the same as the name defined at the top level of extension.json.
Implemented in Wikimedia\Parsoid\Ext\Gallery\Gallery, Wikimedia\Parsoid\Ext\Indicator\Indicator, Wikimedia\Parsoid\Ext\JSON\JSON, Wikimedia\Parsoid\Ext\LST\LST, Wikimedia\Parsoid\Ext\Nowiki\Nowiki, Wikimedia\Parsoid\Ext\Pre\Pre, Wikimedia\Parsoid\ParserTests\DummyAnnotation, Wikimedia\Parsoid\ParserTests\I18nTag, Wikimedia\Parsoid\ParserTests\ParserHook, Wikimedia\Parsoid\ParserTests\RawHTML, and Wikimedia\Parsoid\ParserTests\StyleTag.