Wikipedia:Back to top

If you'd like a "back to top" button to appear alongside the section headers in articles, just add the following code to your user Javascript or your common Javascript:

This only works if the user is logged in and can edit the page.