Page MenuHomePhabricator

"Special:Notifications" has a display problem in some languages
Closed, ResolvedPublic

Description

When you go to [[Special:Notifications]], you see a box saying "Recent activity". You also see the text "Pages with unread notifications".

The text Pages with unread notifications should appear beneath the title Recent activity.

However, on some languages, such as Hebrew (rtl language), Japanese, Chinese and more, there is a problem. The text Pages with unread notifications appears next to the title, instead of appearing beneath the title. This bug results a very ugly design.

I've attached three screenshots:
The first one shows how it should be (on English interface);
the second one shows the problem on Japanese interface;
and the last one shows the problem on Hebrew interface (which is an RTL language).

BTW: There's another minor bug: The name of the project, as written in this box, should change in accordance with the uselang=xx in the URL. Currently, it always appears in the "real" language the user has chosen on their preferences, and it ignores uselang=xx.

PagesWithUnreadNotifications-en.PNG (208×480 px, 7 KB)

PagesWithUnreadNotificationsBug-ja.PNG (179×471 px, 7 KB)

PagesWithUnreadNotificationsBug-he.PNG (191×478 px, 5 KB)

Event Timeline

Change 298107 had a related patch set uploaded (by Mooeypoo):
Make sure sidebar titles are under one another in Special:Notifications

https://gerrit.wikimedia.org/r/298107

Mooeypoo added subscribers: Amire80, Mooeypoo.

Whoops, good find. Thanks for reporting!

Change 298113 had a related patch set uploaded (by Mooeypoo):
Use 'uselang' when fetching unread page notifications

https://gerrit.wikimedia.org/r/298113

Change 298113 merged by jenkins-bot:
Use 'uselang' when fetching unread page notifications

https://gerrit.wikimedia.org/r/298113

Change 298107 merged by jenkins-bot:
Make sure sidebar titles are under one another in Special:Notifications

https://gerrit.wikimedia.org/r/298107

Checked in betalabs - 'Recent activity'

  • zhwiki and hewiki show 'Recent activity' and the label 'Pages with unread notifications' properly placed.

Screen Shot 2016-07-11 at 2.55.53 PM.png (474×674 px, 46 KB)

Screen Shot 2016-07-11 at 2.54.29 PM.png (456×692 px, 36 KB)

  • uselang works in betalabs too

Example from production BEFORE the fix:

Screen Shot 2016-07-11 at 3.00.50 PM.png (479×366 px, 33 KB)

Checked in betalabs - 'Recent activity'

  • zhwiki and hewiki show 'Recent activity' and the label 'Pages with unread notifications' properly placed.

Screen Shot 2016-07-11 at 2.55.53 PM.png (474×674 px, 46 KB)

Screen Shot 2016-07-11 at 2.54.29 PM.png (456×692 px, 36 KB)

  • uselang works in betalabs too

Example from production BEFORE the fix:

Screen Shot 2016-07-11 at 3.00.50 PM.png (479×366 px, 33 KB)

Thanks;)