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

Jidanni created this task.Apr 29 2020, 10:27 PM
Restricted Application added projects: Growth-Team, User-RhinosF1. · View Herald TranscriptApr 29 2020, 10:27 PM
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.

Pppery added a subscriber: Pppery.EditedApr 29 2020, 11:16 PM

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

RhinosF1 removed a project: User-RhinosF1.EditedApr 29 2020, 11:18 PM

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.

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

Pppery removed a subscriber: Pppery.May 4 2020, 10:09 PM

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