Page MenuHomePhabricator

Hovercards: Mixed languages appearing for "last edit", with non-default wiki language settings, when if Twinkle is activated
Closed, InvalidPublic

Description

CennoxX writes:

The messages of the last edit on hovercards in the English Wikipedia with German as display language are in mixed languages, something like "Zuletzt bearbeitet 11 months ago" - the first part is German, the second English.
In the German Wikipedia this works fine.

Event Timeline

Quiddity created this task.Dec 16 2014, 8:19 PM
Quiddity raised the priority of this task from to Normal.
Quiddity updated the task description. (Show Details)
Quiddity added a project: Page-Previews.
Quiddity changed Security from none to None.
Quiddity added a subscriber: Quiddity.

This seems to be working fine for me on https://en.wikipedia.org/wiki/Main_Page?uselang=de

@CennoxX, could you please add details on how to reproduce this issue?

Se4598 added a subscriber: Se4598.Jan 6 2015, 1:32 PM

can't reproduce at the moment either

CennoxX added a comment.EditedJan 7 2015, 1:28 PM

I tried to reproduce the bug with another account. It seems like the issue only occures, if Twinkle is activated (in the Gadgets section of the preferences).

Prtksxna closed this task as Invalid.Jan 7 2015, 2:40 PM
Prtksxna claimed this task.

I tried to reproduce the bug with another account. It seems like the issue only occures, if Twinkle is activated (in the Gadgets section of the preferences).

Yup. I can see it too now. I suspect its happening because they are loading their own version of moment.js, the library used to print out strings like 4 days ago. This library has been part of mediawiki core for some time now, so I have raised an issue on its Github project page to switch to that.

Aklapper renamed this task from Hovercards: Mixed languages appearing for "last edit", with non-default wiki language settings to Hovercards: Mixed languages appearing for "last edit", with non-default wiki language settings, when if Twinkle is activated.Jan 7 2015, 3:11 PM
CennoxX removed a subscriber: CennoxX.Jan 11 2015, 6:47 PM
Quiddity moved this task from Backlog to Done on the Page-Previews board.Apr 14 2015, 8:28 PM