Following from T245866: Watchlist Expiry: Create 20,000 cap and the general Watchlist Expiry project, there's a need to make sure that the new feature does not cause a significant increase in the size of the watchlist, especially since this is already an existing performance problem.
The watchlist table and functionality is, at the moment, not limited at all, allowing users to add as many items as they manage to it. This results in many technical issues like users not being able to load their EditWatchlist page or have issues with displaying the content of the watchlist in general. Also, watching a million pages has its own limited use cases, and the number of users who watch significant amounts of pages is relatively low.
There are two probable ways to fix the issues:
- Limit the size of the watchlist. The limit can be large to allow users to watch many items, but still needs to have some sensible limit for the technical and performant usage of the wikis in general.
- Fix all the places where having a large watchlist is causing problems (such as adding pagination and search to Special:Watchlist etc.)
This ticket will explore what these options mean and whether it is feasible to properly correct this problem as we introduce more features into the watchlist.
(MORE INFO COMING, this ticket is in the process of being hashed out, please do not tag external teams just yet until the phrasing, structure, and plan is written clearly)
TODO for the ticket:
- Check how many users have more than 50,000 watched items in enwiki, commons, and wikidata
- Gather previous tickets related to the watchlist having no limit
- Format/Frame the contents of the intro properly with the plan and solution statement