Steps to replicate the issue (include links if applicable):
This happens only on knwikisource, I am able to edit mediawiki namespace pages on knwikipedia
- go to https://kn.wikisource.org/wiki/Mediawiki:Gadget-charinsert-core.js
- click edit, it redirects to Verify Your Account page https://kn.wikisource.org/w/index.php?title=ವಿಶೇಷ:UserLogin&returnto=ಮೀಡಿಯವಿಕಿ%3ACommon.js&returntoquery=action%3Dedit&force=editsitejs
What happens?:
- after logging-in by entering password and entering 2FA code https://kn.wikisource.org/w/index.php?title=ವಿಶೇಷ:UserLogin&returnto=ಮೀಡಿಯವಿಕಿ%3ACommon.js&returntoquery=action%3Dedit&force=editsitejs user is directed again to Verify your Identity page
What should have happened instead?:
- user should be redirected to edit window
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
