diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/builders/AmenityMenuBuilder.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/builders/AmenityMenuBuilder.java index c1e16537f4..564034590a 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/builders/AmenityMenuBuilder.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/builders/AmenityMenuBuilder.java @@ -290,7 +290,7 @@ public class AmenityMenuBuilder extends MenuBuilder { ll.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { - if (text.contains("wikipedia.org")) { + if (text.contains(".wikipedia.org/wiki/")) { WikipediaDialogFragment.showFullArticle(v.getContext(), Uri.parse(text), !light); } else { Intent intent = new Intent(Intent.ACTION_VIEW);