Wikipedia Preview displays an error state when a page is not supported (Main_page), it doesn't exist, or there's an unexpected error from the API. In all cases the error message is generic and there's nothing the reader can do about it anyway.
While the error is unhelpful we don't plan to remove the error state just yet because 1) is it preceded by the loading state and 2) we're taking steps to greatly reduce the number of errors (supporting other namespaces, plugin won't let you use invalid configuration).
We want editors/integrators to be able to troubleshoot errors caused by invalid configuration. We'll add specific console.error messages for all the cases we can find.
Here's a non-exhaustive list
- The specified article doesn't exist
- The article exists but the API returns no summary (type: "no-extract")
- xhr-level exception