Kozuch added a comment.

  @Evad37 Thanks for your examples - they show the issue nicely. I agree that 
this should be solved in Kartographer. However as I am not willing to wait for 
such solution, I created a clone of your Module:Mapframe to work around this 
bug. The new module and template for its use are here:
  
  https://en.wikipedia.org/wiki/Module:MapframeForObjects
  https://en.wikipedia.org/wiki/Template:MapframeForObjects
  
  I created simple docs for both explaining the problem and linking to this bug.
  
  In the module code I simply commented out the lines where coords are being 
fetched from wikidata when no lat/lon is supplied. The comment begins with this 
line:
  
    if not attribs.latitude and not attribs.longitude then
  
  I hope there will be no problems with using the new module/template. After 
Kartographer is fixed this new template can be redirected to Template:Maplink 
(given the new template will remain compatible with Maplink's parameters).
  Thank you both for your help.

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

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

To: Kozuch
Cc: Evad37, Pikne, ZONA2LORA, Aklapper, Kozuch, Liuxinyu970226, darthmon_wmde, 
Nabetaro, DannyS712, Nandana, MSantos, Lahi, Gq86, Looniverse, 
GoranSMilovanovic, QZanden, Orienteerix, LawExplorer, Ddproxy, _jensen, 
rosalieper, JGirault, phabyogi, GAllegre, Susannaanas, ferdbold, lxbarth, 
Planemad, Wikidata-bugs, aude, Yurik, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to