Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e26bce33 authored by Solirs's avatar Solirs
Browse files

WIKIDATA: Add description for results

parent 9dc36965
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -260,7 +260,7 @@ def get_results(attribute_result, attributes, language):
                    infobox_urls.append({'title': attribute.get_label(language), 'url': url, **attribute.kwargs})
                    # "normal" results (not infobox) include official website and Wikipedia links.
                    if attribute.kwargs.get('official') or attribute_type == WDArticle:
                        results.append({'title': infobox_title, 'url': url})
                        results.append({'title': infobox_title, 'url': url, "content":infobox_content})
                    # update the infobox_id with the wikipedia URL
                    # first the local wikipedia URL, and as fallback the english wikipedia URL
                    if attribute_type == WDArticle and (