**Problem:**
Apparently, there are [[ https://www.wikidata.org/wiki/Special:Contributions/Pippu_d'Angelo | usernames that contain apostrophes ]]. The apostrophe gets escaped when used in an [[ https://www.wikidata.org/w/index.php?title=Special:EntityPage/Q13994&curid=15969&diff=635688928&oldid=635600956&uselang=en | 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 [[ https://www.wikidata.org/w/index.php?title=Special:EntityPage/Q13994&curid=15969&diff=635688928&oldid=635600956&uselang=en | example diff ]] with broken encoding in the summary:
{F35394942}
**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