https://bugzilla.wikimedia.org/show_bug.cgi?id=32241
--- Comment #8 from Lupo <[email protected]> 2011-11-11 11:11:40 UTC --- Just took a look at the old pre-RL version of [[:commons:MediaWiki:Edittools.js]], which is of interest here because the current RL-version exhibits a similar problem (also scrolls the textarea to the top of the viewport, and inserts at a bogus location). Now, the last pre-RL version of that at https://commons.wikimedia.org/w/index.php?title=MediaWiki:Edittools.js&oldid=40547085 does exactly what I proposed in comment 7 above: it saves and restores the windows' scroll position. That code in the insertTags() function comes from the old bug 10526 (fixed more than four years ago); the code is due to AlexSm. That should at least avoid (or rather, undo) the scrolling. Remains to be seen if it then inserts at a sane location. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
