When T206163: Restrictions of overlapping blocks should be merged on enforcement is complete, the restrictions on overlapping partial blocks will be merged together and the user could get a block notice for a block that doesn't cover the restriction.
This can cause confusion if the user wants to know why they are blocked from a page, because they wont be able to specify which block it was that caused them to not be able to edit.
User has two blocks that are applied to them (ip ranges, etc.) one for Saturn and another for Mars. The first block selected is the one for Saturn but they are trying to edit Mars. The user will be prevented from editing, but the block notice that is displayed will be for the block that applies to Saturn
Improve the message shown to the user by including:
- The block ID(s), if we have any
- Show the expiry (last expiry from all the blocks) T225748
- Show the reason (if we can) T225748
We should also ensure the information appears legibly on mobile.