Skip to content

Server error if a destination page doesn't exist #6

@jalovatt

Description

@jalovatt

Some Wikipedia articles have placeholder links to articles that don't exist yet (show in red on Wikipedia), but these links are still included in the array of links returned by Wikipedia's API.

Consequently, destinations can be generated that end up with a page ID of null, causing the client to get stuck on "Waiting for the server".

  1. Add a quick error check to keep the client from freezing.
  2. Find a way to check that destination articles exist that isn't too expensive performancewise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions