Page MenuHomePhabricator

Category names cut off after period on rendering ("486.6875" becomes "486")
Open, Needs TriagePublic

Description

Visit this StructuredDiscussion page with your eyes trained on the

Category: 486.6875

in the lower right corner. Notice how it suddenly becomes

Category: 486

when rendering finally completes?!
Sure, the link is unharmed, just the rendering.

Event Timeline

Restricted Application added subscribers: RhinosF1, Aklapper. · View Herald Transcript

Something is slow to load there. I'm guessing it's some form of javascript injected.

Not Mirhaeze-specific, I can reproduce on MediaWiki.org. (via an edit to Structured Discussions/sandbox)

Not Mirhaeze-specific, I can reproduce on MediaWiki.org.

Thanks for confirming @Pppery, I don't see much more we can do other than upgrade when fixed so untagging.

The tag is added to all issues that mention miraheze by default.

Reedy renamed this task from Categories cut off after period on rendering. to Categories cut off after period on rendering.Apr 30 2020, 1:20 AM
Aklapper renamed this task from Categories cut off after period on rendering to Category names cut off after period on rendering ("486.6875" becomes "486").Apr 30 2020, 8:26 AM

Interesting that when a page with [[Category:486.6875]] is loading, 486.6875 gets displayed correctly , but when the rendering is complete, only 486 is displayed.

Screen Shot 2020-04-30 at 1.57.45 PM.png (487×1 px, 82 KB)
Screen Shot 2020-04-30 at 1.56.42 PM.png (366×1 px, 61 KB)

Change 594322 had a related patch set uploaded (by Catrope; owner: Catrope):
[mediawiki/extensions/Flow@master] Don't strip file extensions when rendering category names

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

Change 594322 merged by jenkins-bot:
[mediawiki/extensions/Flow@master] Don't strip file extensions when rendering category names

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

@Catrope
Checked in betalabs and testwiki wmf.31 - if the following text [[Category:Test]] (existing category on testwiki) and [[Category:486.6875]] (non-exisiting category) is entered in the board description, Category: part of the links would be displayed

Screen Shot 2020-05-05 at 5.07.22 PM.png (201×432 px, 23 KB)