Wikicode in map data is always rendered in enwiki if data is from Sparql
Open, Needs TriagePublic


If mapframe shape comes from Sparql query then the wikicode which comes from the query is rendered in enwiki and not in the wiki where the actual map is.

<mapframe text="text" align="right" width="265" height="250" zoom="14" longitude="25.7342" latitude="62.23766">[
  "type": "ExternalData",
  "service": "geoshape",
  "query": '
      (?item as ?id) 
      (?itemLabel as ?title) 
      (concat("{{SERVERNAME}}<hr>{{CURRENTTIMESTAMP}}<hr>{{Kartographer WLM pin|wikidata=", substr(str(?item),32,250),  "}}") as ?description)  
     ?item wdt:P31/wdt:P279* wd:Q41176 .
     ?item wdt:P276 wd:Q11892928.
     OPTIONAL { ?item wdt:P625 ?coor. }
     SERVICE wikibase:label { bd:serviceParam wikibase:language "fi,sv,en". 
ORDER BY ?itemLabel'

Zache created this task.Jun 22 2017, 5:42 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 22 2017, 5:42 AM
Zache updated the task description. (Show Details)Jun 22 2017, 5:43 AM