Problem:
Apparently, there are usernames that contain apostrophes. The apostrophe gets escaped when used in an edit summary (right-hand side).
List of steps to reproduce (step by step, including full links if applicable):
- revert an edit of a user with an apostrophe in their user name
- view the diff of the revert
What happens?:
- user name is shown wrong in the edit summary that was automatically generated for the revert
- user name is not linked correctly in the edit summary that was automatically generated for the revert
What should have happened instead?:
- user name is shown and linked without encoding issue
Browser information, screenshots/mockups, other information, etc. (if applicable):
Screenshot from an example diff with broken encoding in the summary:
Acceptance criteria (optional):
- apostrophes in user names are handled without encoding issues when reverting an edit of a user with an apostrophe in their user name
Notes:
- We know this is stemming from wikibase, as the message key used for the edit summary is wikibase-entity-summary-restore from Wikibase repo
