Page MenuHomeMiraheze

DISPLAYTITLE broken
Open, NormalPublic

Assigned To
None
Authored By
Rodejong
Feb 9 2024, 22:11
Referenced Files
F2716517: Unavngivet1.png
Feb 13 2024, 00:02
F2715028: Error.txt
Feb 10 2024, 12:36
F2714768: error 3.png
Feb 9 2024, 22:11
F2714769: error 4.png
Feb 9 2024, 22:11
F2714760: error 2.png
Feb 9 2024, 22:11
F2714761: error 1.png
Feb 9 2024, 22:11

Description

https://jwmeeting.miraheze.org/wiki/Main_Page

What happens?:
The following started late this afernoon say after 16:00 (CET) or 15:00 (BST)
The {{DISPLAYTITLE}} has broken for me. It shows the following at the top right of all pages where DISPLAYTITLE is used:

<span style="font-family:Arial, Helvetica, Verdana, Tahoma, sans-serif;font-variant:small-caps;text-shadow:gray 0.2em 0.2em 0.2em"><span style="font-size:0px;">User:</span><span style="color:#3399FF;">R</span><span style="color:#2C9FF5;">o</span><span style="color:#26A5EB;">d</span><span style="color:#20ABE1;">e</span><span style="color:#1AAFD7;">j</span><span style="color:#14B1CD;">o</span><span style="color:#10B3C6;">n</span><span style="color:#0CB5BF;">g</span><span style="color:#08B7B8;"></span></span>

When I look on an incognito window, or on a different device not logged in, It all looks fine.
But as soon as I login, It is broken, so it is my account not displaying it correctly. I don't know why!

What should have happened instead?:

{{DISPLAYTITLE:<span style="font-family:Arial, Helvetica, Verdana, Tahoma, sans-serif;font-variant:small-caps;text-shadow:gray 0.2em 0.2em 0.2em">{{#switch:{{NAMESPACE}}|User=<span style="font-size:0px;">User:</span>|Overleg User=overleg <span style="font-size:0px;">User:</span>|}}<span style="color:#3399FF;">R</span><span style="color:#2C9FF5;">o</span><span style="color:#26A5EB;">d</span><span style="color:#20ABE1;">e</span><span style="color:#1AAFD7;">j</span><span style="color:#14B1CD;">o</span><span style="color:#10B3C6;">n</span><span style="color:#0CB5BF;">g</span><span style="color:#08B7B8;"></span>{{#if:{{#titleparts:{{PAGENAME}}||2}}|<span style="font-size:100%;padding:0 0.1em 0 0.2em;">/</span>{{#titleparts:{{PAGENAME}}||2}}|}}</span>}}

The code should be invisible. It should only target the specific words and just colour it and/or give it a shadow.

Browser information, screenshots and other applicable information:
The following examples are from Google Chrome:

error 2.png (630×1 px, 161 KB)
This is how it should look like. And has been for weeks. Not logged in.
error 1.png (632×1 px, 208 KB)
This is the exact error. Made on my Laptop. On my Android Tablet the complete code is displayed, pushing the website to the left, stretching the page.

The following examples are from Firefox:

error 3.png (768×1 px, 182 KB)
Not logged in, it looks like this.
error 4.png (768×1 px, 223 KB)
Same as above, link shows on top of the page.

Using Windows 11, Android 12

**Skins:

This occurs on:This does not occur on:
Vector-2022Anisa
Vector legacyBluesky
ApexCitizen
ColognblueCosmos
MonobookMetrolook
TimelessModern
TrueglassMinervaneu

I have no other skins

Event Timeline

Rodejong updated the task description. (Show Details)

I add the Element I coppied, from the box that creates the link to my user:Rodejong page as that is what the link is leading me to when I click it.

OrangeStar added a project: Upstream.
OrangeStar subscribed.

Some skins are escaping the HTML in DisplayTitle apparently, and including both an escaped and unescaped version in the output. Very bizarre issue all around since it didn't happen to me while logged in. Very likely upstream issue.

Report to upstream is pending btw.

OrangeStar reopened this task as Open.EditedFeb 10 2024, 20:33

Seems I was wrong. Could not reproduce with Vector-2022 at mirabeta with my userpage.

This comment was removed by Rodejong.

Okay, So @RhinosF1 suggested I created a new account. So I created a new email, and a new account on meta, and logged in.

There was no problem at all, Everything is showing as it should.
When I am not logged in with my main account "Rodejong" I don't have that problem either.

As soon as I log in with my main account, my Username is broken, and a very long link that doesn't break stretches my screen, although the link still links to my User:Rodejong page.

Now I created a back-up account. I copied my own User:Rodejong/vector-2022.css/.js files on my back-up account. And on that account (I am pleased to say) no errors occur from that!

  • Tried the following without success.
?safemode=1

This appears to be caused by the DisplayTitle extension. As it forces the link text of a page link to be that page's displaytitle property, unexpected behavior can (and does) happen when the interface is not expecting HTML in the link text.

Thing is, I use the same code on English WIkipedia, in the same Navigation as I use here on login.miraheze.org and on jwmeeting.miraheze.org and other wiki's.
Why does it only break at jwmeetingwiki?

Thing is, I use the same code on English WIkipedia, in the same Navigation as I use here on login.miraheze.org and on jwmeeting.miraheze.org and other wiki's.
Why does it only break at jwmeetingwiki?

None of those other ones have the DisplayTitle extension installed

Unavngivet1.png (622×986 px, 53 KB)

It still shows, even after the extension was unchecked a few minutes ago, and purged several times. Browser cache cleared as well.