Bug description
The "moved paragraph" arrows we introduced with T139603: Show text changes when moving text chunks (#2) activate Page-Previews now and show broken popups:
This is because the link is an anchor link that points to the same page, with a fragment that points to the other side of the diff, e.g. #movedpara_5_0_rhs. These links do have a href and a title and are therefor considered possibly page links. They are not listed as BLACKLISTED_LINKS.
Possible fixes:
- Just adding diff-marker a to the blacklist might solve the issue already.
- We can as well add class="internal" to the arrow links in wikidiff2. This is already in the blacklist.
Here it can be reproduced: https://de.wikipedia.org/w/index.php?title=Benutzer:TMg/userHighlight.js&diff=188320699&oldid=151101364
Here it can not: https://de.wikipedia.org/w/index.php?diff=187227445&oldid=187227390&title=Benutzer:Christoph_Jauera_(WMDE)/Wikidiff2&type=revision&diffmode=source
Acceptance Criteria
- There is no page preview for diff pages