B0und / WikiSpeedrun

Wikipedia Speedrun Game
https://wikispeedrun.org
MIT License
82 stars 10 forks source link

Redirects don't register as wins #16

Closed mbjackson7 closed 7 months ago

mbjackson7 commented 1 year ago

Some blue links where a different name is used for an article but redirect to the ending articles do not properly register as a win since wins are checked by article title in history rather than article ID.

B0und commented 1 year ago

Can you provide an example so i can reproduce this for further testing? This could probably be fixed by adding another win condition check based on article id, after it loads.

mbjackson7 commented 1 year ago

I had the ending article of Proxy server. I was on the page Web server and used the link Web proxy in the "See also" section, redirects to Proxy server, but didn't trigger a win (however it did stop the timer because I had not yet modified the timer to rely on useIsWin)