Steps to replicate the issue (include links if applicable):
What happens?:
The link to https://en.wikipedia.org/wiki/2,2%27,2%27%27-Nitrilotriacetonitrile gets rendered as 2,2',2-Nitrilotriacetonitrile (the apostrophes get interpreted as italics), but only when there are 1000 links after that link. Note that the link still works despite being rendered differently. No redirect appears to exist at https://en.wikipedia.org/wiki/2,2%27,2-Nitrilotriacetonitrile.
If the link uses ' instead of an apostrophe, this problem doesn't occur.
Also note that adding useparsoid=1 makes the link render without italics:
- https://en.wikipedia.org/w/index.php?title=User:Alexis_Reggae/sandbox&oldid=1309382492
- https://en.wikipedia.org/w/index.php?title=User:Alexis_Reggae/sandbox&oldid=1309382492&useparsoid=1
What should have happened instead?:
It would be preferable if rendering behavior would be consistent regardless of how many links come after the link in question, similar to using useparsoid=1.
Other information (browser name/version, screenshots, etc.):
This caused a problem on https://en.wikipedia.org/wiki/Glossary_of_chemical_formulae, see on-wiki discussion.
