Page MenuHomePhabricator

Values incorrectly parsed in template for label Semantic Maps
Closed, DeclinedPublic

Description

When a query is created in Semantic Maps and a template is used to format the pop-up label for the map, the values are not always correctly passed to the template. This happens when a property has more than one value: the second value gets transferred to the next 'field', the third to the one after, and so on.

The issue is illustrated in the following sandbox:

http://semantic-mediawiki.org/wiki/User:Cavila/test
(where alternative names for the same town crop up in the all wrong places)

This issue has been noticed in both the 1.0.5. and 2.1alpha versions of Maps/Semantic Maps.

There appears a new bug as well: as of v2, linking to the main page through the template (with "showtitle=no") has stopped working.


Version: unspecified
Severity: normal

Details

Reference
bz41421

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:46 AM
bzimport set Reference to bz41421.
bzimport added a subscriber: Unknown Object (MLST).
Aklapper subscribed.

The Semantic MediaWiki developers requested in https://phabricator.wikimedia.org/T64114 to move their task tracking to https://github.com/SemanticMediaWiki and to close remaining tasks in Wikimedia Phabricator. If you still face the problem reported in this task in a supported version of SMW, please feel free to transfer your report to https://github.com/SemanticMediaWiki/SemanticMaps/issues . We are sorry for the inconvenience.