MediaWiki had a functionality that when you edit a page and the edit area has a vertical scroll, when you hit preview, after the page loads again the edit area gets scrolled to the point it was before hitting the preview button.
This is no longer working since a lot of time but I'm missing it.
In fact the code is there. See JavaScript function scrollEditBox in resources/mediawiki.action/mediawiki.action.edit.js [1]
In fact, the edit form has a hidden input field "wpScrolltop" that is being filled correctly when you hit submit, and the server responds back with that field with the same value that it was submitted. Manually executing the function restores the scroll position. So maybe the function isn't being executed at all (maybe a JS error before it? or some other code is changing/interfering with the scroll position of the textarea.
Version: 1.21.x
Severity: trivial