MSantos updated the task description. (Show Details)

CHANGES TO TASK DESCRIPTION
...
There is a thread on the discussion page, it could be about the same thing. [[ https://www.mediawiki.org/wiki/Help_talk:Extension:Kartographer#Wikipedia_links_in_the_mapframe | Wikipedia links in the mapframe ]].

**From T202993**

Internal links in mapframes made by Extension:Kartographer in titles and descriptions are in many cases red links (red color, tooltip says "(page does not exist)", URL have "&redlik=1"), even when the page does exist. This happens when the titles and descriptions with the links comes from a SPARQL query. In other cases these links are blue, and I cannot see any system to which color a link has.

Examples on dawiki: In both examples the maps have both red and blue links, but all linked pages do exist.

* Mapframe with service geoshape: https://da.wikipedia.org/wiki/Bruger:Dipsacus_fullonum/sandkasse-geoshape

* Mapframe with service geoline: https://da.wikipedia.org/wiki/Bruger:Dipsacus_fullonum/sandkasse-geoline

**From T202997**

**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 [[ https://www.mediawiki.org/w/index.php?title=User:CKoerner_(WMF)/sandbox&oldid=2865071 | 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) [[ https://www.mediawiki.org/w/index.php?title=User:CKoerner_(WMF)/sandbox&direction=next&oldid=2865071 | they appear as links on the local wiki ]] (in this case, MediaWiki.org)

Other inter wiki prefers like wg-en (?) [[ https://www.mediawiki.org/w/index.php?title=User:CKoerner_(WMF)/sandbox&direction=next&oldid=2865073 | seem to work ]] (but obviously there is no article on that particular wiki).

**Note**: The same query present in the mapframe works on [[ http://tinyurl.com/y7trrav8 | https://query.wikidata.org]]

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

TASK DETAIL
https://phabricator.wikimedia.org/T185431

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: MSantos
Cc: MSantos, Jhernandez, CKoerner_WMF, Dipsacus_fullonum, Haros, Yurik, Aklapper, jeblad, Lahi, Gq86, Looniverse, GoranSMilovanovic, QZanden, Orienteerix, LawExplorer, Ddproxy, JGirault, phabyogi, GAllegre, Susannaanas, ferdbold, lxbarth, Planemad, Wikidata-bugs, aude, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to