If mapframe shape/point comes from SPARQL query then the wikicode which comes from the query is parsed against en.wikipedia.org and not against the domain where the actual map is.
This means that internal links on projects other than enwiki appear blue or red depending on if pages titled the same exist or doesn't exist on enwiki, and w:, en: interwiki prefixes are resolved to no prefix the way they are treated in enwiki. See frwiki examples here: https://fr.wikipedia.org/w/index.php?title=Utilisateur:Golmote/Brouillon&oldid=198634430
Also if map data includes a template call then enwiki template is used: mediawiki.org example map, template used [template deleted on 7 March 2019]