Page MenuHomePhabricator

Internal Wiki links (and probably more stuff) does not render when Semantic Maps shows queried data using a template for formatting
Closed, ResolvedPublic

Description

Author: happel

Description:
When using a template to format Semantic Maps marker popups (tested for GoogleMaps only), internal Wiki links will not render and produce empty output.

E.g. a template code such as
<pre>
[[{{{1}}}]]
[[Karlsruhe]]
[mailto:{{{3}}} {{{3}}}]
</pre>

Will result in two empty output lines and a working E-Mail Link (parameter 3 beeing an E-Mail address; note that fixes from https://bugzilla.wikimedia.org/show_bug.cgi?id=24555 were applied here).

Looking into the source, the two empty lines actually appear as:
<pre>
<!--LINK 0:0-->
<!--LINK 0:1-->
</pre>

A quick glance into http://svn.wikimedia.org/doc/Parser_8php-source.html show that seems seem to be intermediary placeholders for the MediaWiki parser - hence $wgParser->recursiveTagParse() as called in SM_MapPrinter.php does not seem to do the full parsing job?!

My system setup is the same as reported in https://bugzilla.wikimedia.org/show_bug.cgi?id=24555


Version: unspecified
Severity: minor

Details

Reference
bz24556

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:07 PM
bzimport set Reference to bz24556.

This has been fixed in Semantic Maps 0.8