Steps to reproduce:
- Open https://incubator.wikimedia.org/w/index.php?title=Wp/enm/Mayne_Page&action=edit
- Save the page.
Expected result: Null edit.
Actual result: Pipes are added before all the links, resulting in breaking them. See also the page's history.