> We have a Widgets (http://www.mediawiki.org/wiki/Extension:Widgets)
> extension installed and it appears we are not able to render a result from
> #widget parser function there.
> >
> The issue is that Parsoid doesn’t have a mechanism to register hooks,
>
> https://github.com/wikimedia/mediawiki-extensions-Widgets/blob/master/Widgets.php#L68
>
> `WidgetRenderer::outputCompiledWidget` would normally decode that content.
>
> See https://phabricator.wikimedia.org/T55874 to track the issue.
>

Thanks for investigating the issue.

Meanwhile I have implemented a workaround by postprocessing Parsoid's
output via a custom version of mwoffliner (
https://sourceforge.net/u/svadim/kiwix-other/ci/master/tree/mwoffliner/)
_______________________________________________
Wikitext-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitext-l

Reply via email to