Wikimedia
Tracker: Redirect users to page they were at before their OAuth token became invalid
Problem
If your oauth token is invalid for any reason, Tracker forces you to reconnect your account to the OAuth provider (MediaWiki installation). However, Tracker will forget which page you were at previously, and redirects you to mainpage. That means you have to go wherever you were yourself again.
Proposed solution
Change InvalidOauth
middleware to pass next
parameter with the URL Tracker should redirect to.
Student is expected to send a patch for wikimedia-cz/tracker
repository, hosted at Wikimedia Gerrit. When claiming task on GCI website, student should claim a respective Phabricator task as well.
Materials
- Tracker in production
- Test Tracker version - you can play with Tracker freely here
- Codebase
Task tags
Students who completed this task
Netx