Wikipedia login page scrolls to bottom

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
Kiwipete
Newbie
Newbie
Posts: 6
Joined: 2021-09-15, 07:58

Wikipedia login page scrolls to bottom

Post by Kiwipete » 2025-10-16, 19:18

When I navigate to the English Wikipedia http://en.wikipedia.org/wiki/Main_Page and then click the Log in link https://en.wikipedia.org/w/index.php?ti ... =Main+Page, the login page scrolls down to the bottom.

User avatar
Stargate38
Fanatic
Fanatic
Posts: 102
Joined: 2018-05-27, 22:55
Location: Earth

Re: Wikipedia login page scrolls to bottom

Post by Stargate38 » 2025-10-24, 22:20

I'm getting the same thing. Console output:

Code: Select all

Submitted the following event: Object { action: "page-load", action_context: "other", funnel_event_sequence_position: 1, instrument_name: "bot-detection", $schema: "/analytics/product_metrics/web/base…", agent: Object, sample: Object, dt: "2025-10-24T22:18:49.016Z", meta: Object }  
load.php:147:344
Submitted the following event: Object { action: "after-short-delay", action_context: "other", funnel_event_sequence_position: 2, instrument_name: "bot-detection", $schema: "/analytics/product_metrics/web/base…", agent: Object, sample: Object, dt: "2025-10-24T22:18:49.514Z", meta: Object }  
load.php:147:344
Submitted the following event: Object { action: "after-delay", action_context: "other", funnel_event_sequence_position: 3, instrument_name: "bot-detection", $schema: "/analytics/product_metrics/web/base…", agent: Object, sample: Object, dt: "2025-10-24T22:18:50.128Z", meta: Object }  
load.php:147:344

User avatar
Kiwipete
Newbie
Newbie
Posts: 6
Joined: 2021-09-15, 07:58

Re: Wikipedia login page scrolls to bottom

Post by Kiwipete » 2026-03-12, 04:08

I still observe this behaviour in the latest release 34.1.0.

Can any progress be expected soon?

User avatar
Moonchild
Project founder
Project founder
Posts: 39644
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Wikipedia login page scrolls to bottom

Post by Moonchild » 2026-03-12, 06:39

Kiwipete wrote:
2026-03-12, 04:08
Can any progress be expected soon?
Not really, since other than deliberate repositioning from within javascript (which is entirely to blame on the website authors), there doesn't seem to be anything specific about the login page.
i.e.: if we know what causes the behaviour specifically, other than deliberate action from the site's scripting, we'd have something to go one. But we don't.

Also, the login page is pretty bare-bones and doesn't take a lot of space on screen. I don't think anyone with a relatively modern monitor resolution would even notice this happening (I had to seriously scale down the window size to observe it).
"Sales hates anything that can't be turned into a confident sentence." - anonymous warehouse worker
"Why debate someone you fundamentally don't trust?" - Dario Amodei
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
adoxa
Astronaut
Astronaut
Posts: 676
Joined: 2019-03-16, 13:26
Location: Qld, Aus.

Re: Wikipedia login page scrolls to bottom

Post by adoxa » 2026-03-13, 00:05

It's autofocus and something about the style (nothing to do with Javascript). Switching to no style will place the field at the bottom of the screen; removing all classes seems to place "Forgot your password" at the bottom; adding useskin=Monobook seems to work as expected. I couldn't track down exactly what was going on, though.

User avatar
nia_netbsd
Moongazer
Moongazer
Posts: 8
Joined: 2024-08-08, 13:27

Re: Wikipedia login page scrolls to bottom

Post by nia_netbsd » 2026-03-13, 12:52

Interesting about the "useskin" URL parameter, this can be used to create URL Rewriter rules with regular expressions.

For the login page:

Code: Select all

Example URL: https://auth.wikimedia.org/enwiki/wiki/Special:UserLogin?useformat=desktop&usesul3=1&returnto=Main+Page
Include pattern: https://auth.wikimedia.org/enwiki/wiki/Special:(.*)
Exclude pattern: useskin
Redirect to: https://auth.wikimedia.org/enwiki/wiki/Special:$1&useskin=Monobook
For regular Wikipedia articles when not logged-in:

Code: Select all

Example URL: https://en.wikipedia.org/wiki/Tree
Include pattern: https://en.wikipedia.org/wiki/(.*)
Exclude pattern: https://en.wikipedia.org/wiki/(.*)\?
Redirect to: https://en.wikipedia.org/wiki/$1?useskin=Monobook
(You can also replace Monobook with Vector to get the pre-2022 Wikipedia skin that works well with Pale Moon. Much nicer!)

User avatar
Gemmaugr
Keeps coming back
Keeps coming back
Posts: 752
Joined: 2025-02-03, 07:55

Re: Wikipedia login page scrolls to bottom

Post by Gemmaugr » 2026-03-13, 13:57

nia_netbsd wrote:
2026-03-13, 12:52
Interesting about the "useskin" URL parameter, this can be used to create URL Rewriter rules with regular expressions.
Indeed!

I personally use a Greasemonkey script though;

Code: Select all

// ==UserScript==
// @name     Wikipedia vector skin
// @version  1
// @grant    none
// @match    https://en.wikipedia.org/*
// @match    https://sv.wikipedia.org/*
// @run-at   document-start
// ==/UserScript==

if (! window.location.search) {
  window.location.search = '?useskin=vector';
} else if (! oldSearch.includes('useskin')) {
  window.location.search += '&useskin=vector';
}
||OS: Win 10 | CPU: i7 10700 | GPU: GeForce RTX 3070||
"Judge a person not by their superficial identity attributes, but by the content of their character."
"Organized Identity Politics are the bane of civilized society."