Last modified: 2011-05-14 15:31:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T26556, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24556 - Internal Wiki links (and probably more stuff) does not render when Semantic Maps shows queried data using a template for formatting
Internal Wiki links (and probably more stuff) does not render when Semantic M...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticMaps (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Jeroen De Dauw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-27 12:03 UTC by Hans-Joerg Happel
Modified: 2011-05-14 15:31 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Hans-Joerg Happel 2010-07-27 12:03:19 UTC
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
Comment 1 Jeroen De Dauw 2011-05-14 15:31:58 UTC
This has been fixed in Semantic Maps 0.8

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links