Builditluc / wiki-tui

A simple and easy to use Wikipedia Text User Interface
https://wiki-tui.net/
MIT License
405 stars 14 forks source link

[BUG] Redirects won't be resolved directly #157

Closed Builditluc closed 1 year ago

Builditluc commented 1 year ago

General Information Version: v0.6.3 Installation Method: cargo Operating System: macOS

Describe the bug When opening a page redirecting to another, wiki-tui will just display an empty page and an empty toc without any warnings

To Reproduce Steps to reproduce the behavior:

  1. Open any article containing a redirect (Content Management Framework for example)
  2. See error

Expected behavior Either the user should see something on the page, for example, a notice that this page redirects to another, or, wiki-tui should automatically redirect to the target page and display a popup there.

Additional context Since redirects are automatically resolved within the search, you have to open the page that contains the redirect via a link. For example, open the page List of content management systems and then open the first link there.

Checklist