Hi!,
Like before I'm playing with a wiki with quite an old Mediawiki installed
(
http://www.cruiserswiki.org/wiki/Special:Version)
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.
For example, at
http://www.cruiserswiki.org/wiki/User:Vadim/Sandbox3 we have:
<nowiki>{{</nowiki>#Widget:Dmh2Deg|d=41|m=14.74|h=N}}
{{#Widget:Dmh2Deg|d=41|m=14.74|h=N}}
<nowiki>{{</nowiki>#Widget:Dmh2Deg|d=09|m=11.93|h=E}}
{{#Widget:Dmh2Deg|d=09|m=11.93|h=E}}
which renders to
{{#Widget:Dmh2Deg|d=41|m=14.74|h=N}}
41.245666666667
{{#Widget:Dmh2Deg|d=09|m=11.93|h=E}}
9.1988333333333
but the Parsoid gives:
{{#Widget:Dmh2Deg|d=41|m=14.74|h=N}}
{{#Widget:Dmh2Deg|d=09|m=11.93|h=E}}
Actually in HTML code I see:
<!-- ENCODED_CONTENT
PCEtLQotLT48IS0tCi0tPjQxLjI0NTY2NjY2NjY2Nw== -->
and
<!-- ENCODED_CONTENT
PCEtLQotLT48IS0tCi0tPjkuMTk4ODMzMzMzMzMzMw== -->
which gives 41.245666666667 and 9.1988333333333 if base64-decoded.
I'm quite confused about this behaviour.
I wonder if someone could help me to solve this issue.
`WidgetRenderer::outputCompiledWidget` would normally decode that content.
See
Thanks
Vadim
_______________________________________________
Wikitext-l mailing list
Wikitext-l(a)lists.wikimedia.org (mailto:Wikitext-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/wikitext-l