Steps to replicate the issue (include links if applicable):
- Create an article
- Enable Echo subscriptions for "Page link" (web-article-linked)
- Have another user create a link to your article on a page with an ampersand in its title
- Open Wikipedia mobile app and click the new notification about this link
What happens?:
The notification is created with a malformed diff link, and pressing it displays a "Empty list doesn't contain element at index 0." error message
Example malformed link: https://en.wikipedia.org/w/index.php?title=List_of_Men%27s_Track_&diff=1340449880&oldid=-1&variant=en
(should be to this page: https://en.wikipedia.org/wiki/List_of_Men%27s_Track_%26_Field/Cross_Country_Academic_All-America_Team_Members_of_the_Year)
What should have happened instead?:
The diff should have been displayed, and the link should not be malformed
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia): 50568-beta-2026-02-24
Other information (browser name/version, screenshots, etc.): Tested on LineageOS 15
Screenshot of bug:
