Page MenuHomePhabricator

Some error messages are not being localized
Open, Needs TriagePublicBUG REPORT


Steps to reproduce

  1. Go to a Special:Login page on a non-EN wiki, without being connected, like on
  2. -
  3. -
  4. -
  5. Enter your real username and a dummy password

Actual result

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

Excepted result

Error message localized.

Event Timeline

Framawiki created this task.Fri, Nov 8, 9:17 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFri, Nov 8, 9:17 PM
Huji added a comment.Sat, Nov 9, 3:07 PM

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.

Huji added a comment.EditedSat, Nov 9, 4:56 PM

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.Mon, Nov 11, 7:33 PM
Ammarpad changed the subtype of this task from "Task" to "Bug Report".Tue, Nov 12, 4:59 AM
Ammarpad renamed this task from Some error messages are not being localized be to Some error messages are not being localized.Tue, Nov 12, 9:47 AM