Page MenuHomePhabricator

Some error messages are not being localized
Closed, ResolvedPublicBUG REPORT

Description

Steps to reproduce

  1. Go to a Special:Login page on a non-EN wiki, without being connected, like on
  2. - https://fr.wikipedia.org/wiki/Sp%C3%A9cial:Connexion
  3. - https://es.wikipedia.org/wiki/Especial:Entrar
  4. - https://de.wikipedia.org/wiki/Spezial:Anmelden
  5. Enter your real username and a dummy password

Actual result

Incorrect username or password entered is shown as-is, not localized

{F31059357}

Excepted result

Error message localized.

Event Timeline

Copied from my initial analysis on T237782:

Wrongpassword is one of our older messages and has had a Persian translation since a very long time ago. The only places I can see it being used in core also have not changed recently. Even on fawiki, MediaWiki:Wrongpassword shows the localized translation. I'm not sure which part of code ignores the i18n and decides to show the English message instead.

Of note, when I am unable to reproduce this outside of WMF wikis. For instance, on my local wiki using 904edf527901db577475212b98ffa108c4ff8804 or any other version from the last 4 days, the error message shows localized. I am starting to wonder if some other piece of code (maybe MediaWiki-extensions-LoginNotify or MediaWiki-extensions-CentralAuth) is to blame for this issue on WMF wikis.

Ammarpad renamed this task from "Incorrect username or password entered" error message on Special:Login is not localized to Some error messages are not being localized be.Nov 11 2019, 7:33 PM
Ammarpad changed the subtype of this task from "Task" to "Bug Report".Nov 12 2019, 4:59 AM
Ammarpad renamed this task from Some error messages are not being localized be to Some error messages are not being localized.Nov 12 2019, 9:47 AM

This seems to have been fixed in the meantime?

Screenshot 2023-07-20 at 11-27-06 Se connecter — Wikipédia.png (399×488 px, 36 KB)

Closing per last comment. Please reopen if you can still reproduce - thanks!