Last modified: 2012-08-24 18:51:45 UTC
UW depends on the following line in it's script: // scroll to the top of the page (the current step might have been very long, vertically) var headScroll = $( '#firstHeading' ).offset(); $j( 'html, body' ).animate( { scrollTop: headScroll.top, scrollLeft: headScroll.left }, 'slow' ); However #firstHeading is not present in the classic skin. Instead it has h1.pagetitle
My apologies, this was a case of assuming that the extension operated on only (n - 1) dimensions. Is there a more-universal way of finding the top of the page that we could use?
I don't think so. but $( '#firstHeading, h1' ) is probably good enough in this case.
https://gerrit.wikimedia.org/r/21341 There ya go.
And thanks to sumana, I now have merge rights and can give you this one-line fix for relatively cheap. Marking as resolved, we'll try to deploy this really soon. Thanks for the report!