List of steps to reproduce (step by step, including full links if applicable):
- Take https://es.wikipedia.org/wiki/América#Geograf%C3%ADa_pol%C3%ADtica
- Preview the link: Anexo:División política de América
What happens?:
- An error is reported: "There was an error displaying this preview"
What should have happened instead?:
- The preview should have shown
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
See also: https://meta.wikimedia.org/w/index.php?title=Community_Wishlist_Survey_2022/Reading/Page_Previews_show_an_error_message_on_all_links_to_Anexo:_namespace_in_Spanish_Wikipedia&action=edit
Seems that https://es.wikipedia.org/api/rest_v1/page/summary/Anexo%3ADivisi%C3%B3n_pol%C3%ADtica_de_Am%C3%A9rica is not returning an extract but the TextExtracts extension is: https://es.wikipedia.org/wiki/Especial:Zona_de_pruebas_de_la_API#action=query&format=json&prop=extracts&titles=Anexo%3ADivisión%20pol%C3%ADtica%20de%20América
Thus this is an error in the rest api