# Wikipedia link opens page with json

**URL:** <https://forum.inaturalist.org/t/wikipedia-link-opens-page-with-json/17944>\
**Category:** Bug Reports\
**Created:** [November 9, 2020, 6:23am UTC](https://forum.inaturalist.org/t/wikipedia-link-opens-page-with-json/17944 "2020-11-09T06:23:31Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![lawnranger](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/lawnranger/32/34961_2.png) [@lawnranger](https://forum.inaturalist.org/u/lawnranger)\
**Post date:** [November 9, 2020, 6:23am UTC](https://forum.inaturalist.org/t/wikipedia-link-opens-page-with-json/17944/1 "2020-11-09T06:23:31Z")

</div>

**Platform:** Website

**Browser:** Firefox & Chrome

**URL:** [https://www.inaturalist.org/taxa/1149223-Boronia-rigens#articles-tab](https://www.inaturalist.org/taxa/1149223-Boronia-rigens#articles-tab)

**Description of problem:** On the About tab the wikipedia info is shown but after clicking the link icon to the wikipedia article an empty page loads with only a json object.  
 ![screen1](https://us1.discourse-cdn.com/flex016/uploads/inaturalist/original/2X/4/433fd4ffa1ea90dbf1fcb232d3494a58ad421f1d.png)

Empty page url: [https://hub.toolforge.org/P3151:1149223?lang=en](https://hub.toolforge.org/P3151:1149223?lang=en)

> {“message”:“no id found”,“context”:{“properties”:[“P3151”],“value”:“1149223”}}

On other pages eg [Mammals](https://www.inaturalist.org/taxa/40151-Mammalia#articles-tab) the link opens wikipedia as expected.

---

<div class="post-metadata">

**Author:** ![thebeachcomber](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/thebeachcomber/32/12748_2.png) [@thebeachcomber](https://forum.inaturalist.org/u/thebeachcomber)\
**Post date:** [November 9, 2020, 8:21am UTC](https://forum.inaturalist.org/t/wikipedia-link-opens-page-with-json/17944/2 "2020-11-09T08:21:19Z")

</div>

When I follow that link it works as normal for me  
\*EDIT: nevermind, I misinterpreted the problem. Doesn’t work for me either

---

<div class="post-metadata">

**Author:** ![gnangarra](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/gnangarra/32/11387_2.png) [@gnangarra](https://forum.inaturalist.org/u/gnangarra)\
**Post date:** [November 9, 2020, 10:47am UTC](https://forum.inaturalist.org/t/wikipedia-link-opens-page-with-json/17944/3 "2020-11-09T10:47:51Z")

</div>

I think I’ve fixed it, by adding the iNaturalist taxa id to Wikidata item. I tried the link after the update and it worked for me. Can someone else test to confirm

For ref wikidata link: [https://www.wikidata.org/wiki/Q15389072](https://www.wikidata.org/wiki/Q15389072)

---

<div class="post-metadata">

**Author:** ![thebeachcomber](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/thebeachcomber/32/12748_2.png) [@thebeachcomber](https://forum.inaturalist.org/u/thebeachcomber)\
**Post date:** [November 9, 2020, 12:00pm UTC](https://forum.inaturalist.org/t/wikipedia-link-opens-page-with-json/17944/4 "2020-11-09T12:00:02Z")

</div>

work, cheers for fixing :)

---

<div class="post-metadata">

**Author:** ![lawnranger](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/lawnranger/32/34961_2.png) [@lawnranger](https://forum.inaturalist.org/u/lawnranger)\
**Post date:** [November 9, 2020, 12:21pm UTC](https://forum.inaturalist.org/t/wikipedia-link-opens-page-with-json/17944/5 "2020-11-09T12:21:27Z")

</div>

The missing iNat id on Wikidata may have been the cause, but the bug is the way the error was handled. iNat had managed to locate the wikipedia page as seen by the info on the About tab, but did not use that url for the clickable link.

---

<div class="post-metadata">

**Author:** ![lawnranger](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/lawnranger/32/34961_2.png) [@lawnranger](https://forum.inaturalist.org/u/lawnranger)\
**Post date:** [November 19, 2020, 7:42am UTC](https://forum.inaturalist.org/t/wikipedia-link-opens-page-with-json/17944/6 "2020-11-19T07:42:56Z")

</div>

Here’s another taxon with this bug:  
[https://www.inaturalist.org/taxa/1119887-Sternotherus-intermedius](https://www.inaturalist.org/taxa/1119887-Sternotherus-intermedius)

Click on the link icon next to ‘Source: Wikipedia’ on the About/info tab, see clip from screen shot in first post.

Please don’t ‘fix’ this on wikidata, it applies to any taxon with an (english?) wikipedia page but no iNat id on wikidata

---

<div class="post-metadata">

**Author:** ![tiwane](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/tiwane/32/54612_2.png) [@tiwane](https://forum.inaturalist.org/u/tiwane)\
**Post date:** [November 19, 2020, 10:26pm UTC](https://forum.inaturalist.org/t/wikipedia-link-opens-page-with-json/17944/7 "2020-11-19T22:26:55Z")

</div>

I’ll add to my report. Please don’t fix [https://www.inaturalist.org/taxa/1119887-Sternotherus-intermedius](https://www.inaturalist.org/taxa/1119887-Sternotherus-intermedius), leaving it as it is will help us fix the underlying bug.

---

<div class="post-metadata">

**Author:** ![radrat](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/radrat/32/2093_2.png) [@radrat](https://forum.inaturalist.org/u/radrat)\
**Post date:** [November 21, 2020, 5:58am UTC](https://forum.inaturalist.org/t/wikipedia-link-opens-page-with-json/17944/8 "2020-11-21T05:58:59Z")

</div>

Another taxon page with the same problem, in case you need more examples.  
[https://www.inaturalist.org/taxa/1145344-Pseudocharis-melanthus](https://www.inaturalist.org/taxa/1145344-Pseudocharis-melanthus)

---

<div class="post-metadata">

**Author:** ![peterwchen](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/peterwchen/32/11571_2.png) [@peterwchen](https://forum.inaturalist.org/u/peterwchen)\
**Post date:** [December 3, 2020, 2:36am UTC](https://forum.inaturalist.org/t/wikipedia-link-opens-page-with-json/17944/9 "2020-12-03T02:36:11Z")

</div>

**Platform** : Website

**Browser** : Firefox on Linux

**Description of problem** :

Step 1: Click on “About” tab for this species

Step 2: Shows snapshot of Wikipedia page, as expected

Step 3: Clicking on the link does not bring up the Wikipedia page but this URL: [https://hub.toolforge.org/P3151:549305?lang=en](https://hub.toolforge.org/P3151:549305?lang=en)

> **[Dwarf Periodical Cicada (Magicicada cassinii)](https://www.inaturalist.org/taxa/549305-Magicicada-cassinii)**
>
> ... (Source: Wikipedia, '', http://en.wikipedia.org/wiki/Magicicada\_cassinii, CC BY-SA 3.0 . Photo: (c) Michael Tobler, all rights reserved)

---

<div class="post-metadata">

**Author:** ![bouteloua](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/bouteloua/32/1180_2.png) [@bouteloua](https://forum.inaturalist.org/u/bouteloua)\
**Post date:** [December 3, 2020, 2:47am UTC](https://forum.inaturalist.org/t/wikipedia-link-opens-page-with-json/17944/10 "2020-12-03T02:47:53Z")

</div>

Hi Peter, thanks for reporting - turns out there is an existing report about this issue so I moved your post here.

---

<div class="post-metadata">

**Author:** ![pisum](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@pisum](https://forum.inaturalist.org/u/pisum)\
**Post date:** [December 20, 2020, 9:45pm UTC](https://forum.inaturalist.org/t/wikipedia-link-opens-page-with-json/17944/11 "2020-12-20T21:45:05Z")

</div>

it looks like this has been fixed: [https://github.com/inaturalist/inaturalist/commit/87145a44a92ae09133135752e0bdbd3be5ec71e7](https://github.com/inaturalist/inaturalist/commit/87145a44a92ae09133135752e0bdbd3be5ec71e7). can anyone else confirm?

---

<div class="post-metadata">

**Author:** ![jdmore](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/jdmore/32/1116_2.png) [@jdmore](https://forum.inaturalist.org/u/jdmore)\
**Post date:** [December 21, 2020, 1:23am UTC](https://forum.inaturalist.org/t/wikipedia-link-opens-page-with-json/17944/12 "2020-12-21T01:23:52Z")

</div>

All the sample links above seem to work fine now, for what that’s worth.

---

<div class="post-metadata">

**Author:** ![tiwane](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/tiwane/32/54612_2.png) [@tiwane](https://forum.inaturalist.org/u/tiwane)\
**Post date:** [December 22, 2020, 5:24am UTC](https://forum.inaturalist.org/t/wikipedia-link-opens-page-with-json/17944/13 "2020-12-22T05:24:34Z")

</div>


