When the first line of an article is a hatnote template that generates exactly 1 line of text in the visual editor, pressing down twice takes you to the end of the article. When the hatnote template generates more than one line then pressing down takes you to the end of the first line but no further.
I have been unable to reproduce this with templates other than hatnotes.
Steps to reproduce (short hatnote):
- Load a page with a short hatnote in VE, e.g. [[Laurence of Canterbury]]
- Press the down cursor twice
Expected behaviour: you end up on the third line of the page
Actual behaviour: you end up on the last line of the page
Steps to reproduce (long hatnote):
- Load a page with a long hatnote in VE, e.g. [[An American in Paris]]
- Press the down cursor three or more times.
Expected behaviour: you end up on the third or fourth etc. line of the page
Actual behaviour: you end up at the end of the first line of the hatnote.
Sandbox pages to test:
Long hatnote: https://en.wikipedia.org/w/index.php?title=User:Thryduulf/sandbox&oldid=566827194&veaction=edit
Short hatnote: https://en.wikipedia.org/w/index.php?title=User:Thryduulf/sandbox2&oldid=566827110&veaction=edit
This might be related to bug 51708
Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=51708