Closed timofeysie closed 3 years ago
There is no English site link. What do we do in this situation?
After adding the description for the server, we are getting this error:
core.js:4002 ERROR TypeError: Cannot read property 'url' of undefined
at ItemDetailsStore.push../src/app/features/category-item-details/item-details/item-details-store.ts.ItemDetailsStore.getTitle (item-details-store.ts:44)
We used the url title as a means to get the description, but this wont work if there is no link to get it from, so we need a fallback or better way of getting that title.
There appears to be no Wikipedia page for this fallacy. There is an English description on the Wikidata page, and a longer description in the "media legend" section.
If there is no link in the current language selected, we will just show the label in that language in regular text. Otherwise, show the link text and a hyperlink to the Wikipedia page.
The response is: