Page MenuHomePhabricator

Maps using GeoShapes via Wikidata queries do not handle wiki links properly
Closed, DuplicatePublic

Description

Summary
Maps using GeoShapes via Wikidata queries show redlinks in titles and descriptions in map markers and do not resolve to the specified wiki.

Description

It appears the interwiki prefix (like w: or wikipedia:) are not being concatenated correctly within a <mapframe>.

First reported here: https://www.mediawiki.org/wiki/Topic:Ujn44c42gfmjvur5

I was able to reproduce in my sandbox.

Changing the interwiki prefix to w: makes the links appear correctly, but instead of resolving the appropriate domain (en.wikipedia.org) they appear as links on the local wiki (in this case, MediaWiki.org)

Other inter wiki prefers like wg-en (?) seem to work (but obviously there is no article on that particular wiki).

Note: The same query present in the mapframe works on https://query.wikidata.org

Expected behavior
Maps using queries to create wikilinks within the title and description of markers should work consistently.