Page MenuHomePhabricator

<strong>Notifications - the whole page is bold
Closed, ResolvedPublic


Special:Notifications - the whole page (including sidebar, personal links etc) is in BOLD

How to reproduce:

  • //


  1. It seems there is unclosed strong tag causing the whole page to appear in bold
  2. The page is very strong... e.g it contains many strong tags. For example each .mw-echo-state div contains double strong which is redundant for example:
<div class="mw-echo-state"><strong><strong><img src="/w/extensions/Echo/modules/icons/edit-user-talk.svg" class="mw-echo-icon"><div class="mw-echo-content"><div class="mw-echo-title">2 הודעות חדשות בדף השיחה שלך</div>
<div class="mw-echo-notification-footer"><span class="mw-echo-notification-footer-element">לפני יום 1</span><span class="mw-echo-notification-footer-element"> | </span><a class="mw-echo-notification-footer-element" href="//">הצגת הודעה</a><span class="mw-echo-notification-footer-element"> | </span><a class="mw-echo-notification-footer-element" href="//;oldid=18338350&amp;diff=18338505">הצגת שינויים</a></div>

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

There is a similar case with monospace font in betalabs.

The Notifications page changes its font if some of the Notifications have <pre> in them (there is one case - not reproducible).

Screen Shot 2016-04-07 at 5.23.44 PM.png (708×1 px, 273 KB)

Resolving topics sends notifications where topic titles are parsed (true for <pre>, <tt>, <strong>, <code> tags in titles).

Steps to reproduce the issue described in the ticket:

  1. On a Flow board that a some user watches, create a topic with "<strong>Bold text" as a title(no quotes).
  2. A user, who watches the board, receives a normal notification with the title displayed as it is.
  3. Resolve the topic - the user receives a notification where the topic will be parsed - The topic "‪Bold text‬" was resolved. (the tag <strong> is missing).
  4. Go to the Notification page - the whole page will be displayed in bold:

Screen Shot 2016-04-12 at 2.14.06 PM.png (727×1 px, 177 KB)

Change 283114 had a related patch set uploaded (by Catrope):
Use plaintext for topic titles in resolved notification

Change 283114 merged by jenkins-bot:
Use plaintext for topic titles in resolved notification

Checked the fix in betalabs (including <pre>, <tt>, <code> and templates (for regression)).
Tags in topic titles'

  • are not parsed
  • do not affect the display of Notifications page
  1. In hewiki that sidebar still appears as bold in Special:Notifications in my account ("User:ערן" )
  2. I wanted to grab a screenshot and since (most of) the Collab-Team don't read Hebrew yet I moved to uselang=en and the problem doesn't appear in English. Could this <strong> be somehow cached (server side)?

@Catrope, this was resolved on the 15th and @eranroz reported it again on the 18th. Is this because the fix wasn't live yet? If so, is it now/when will it be? I.e., how long should eranroz wait to report if he sees it again?

It was merged April 13, and he reported it Wednesday (May 18), so it's not just deployment train lag.

Matt says:

so it's not just deployment train lag.

I'll move this to QA to see if @Etonkovidova can reproduce. If so, Elena, please move back to In Dev. Thanks. If not, let's close again and wait to see what happens.

From @eranroz's comment it sounds like it may be specific to viewing in Hebrew: possibly a mistake in the translation.

eranroz added a subscriber: Amire80.

@Catrope good catch: 1 2 3. (@Amire80 accidentally updated only the start tag)