2
votes

It's idiotic question, sorry. But I spent 2 days... and still no result. May be you can help me.

  1. I have installed media wiki here, version 1.25.1.

  2. I have Semantic MediaWiki, Semantic Maps, Maps extensions, you can see it here (it's russian, but you still can see titles & versions).

  3. And I just copied example from here.

So, here is the city, that using template.

And page with "ask, format map":, just like this:

{{
#ask:
[[Category:Locations]]
| ?Has coordinates
| format=map
}}

Nothing more. It must work, why not? Single maps are working fine. But ask with format map — no. It renders just <p><br/></p>.

Why, why, why?

1
Your syntax is ok, so you will have to troubleshoot on your side. Start by enabling error logging - leo
@leo, thank you for the answer. Still doing it. No errors, nothing. In debug process now. So strange. - LevChurakov

1 Answers

1
votes

I just didn't make "Has coordinates" real geo-property. I have not very big practice with mediawiki + SWM, but it was not really clear for me.

What I had to do:

  1. Create a page for this property (Property:Has coordinates).
  2. Make it semantic geo-property: just write inside: [[Has type::Geographic coordinate|]].

That's it. Thank you!