Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

MathJax in profiles displays differently depending on community

+1
−0

Some communities have MathJax enabled, which allows including mathematical notation in posts. I wondered whether this would extend to the user profile, so I did a test.

I edited my profile to include the following:

Testing MathJax in a profile:

$1+1$

The preview showed mathematical notation on a site that has MathJax enabled (in this case, Code Golf), and showed the raw text on a site that does not have MathJax enabled (here on Codidact Meta).

Similarly after saving, the profile shows as raw text unless the profile is reached from a community that has MathJax enabled, in which case it renders as mathematical notation.

Code Golf shows rendered MathJax in profile

Codidact Meta shows raw text in profile

This means someone in one of the mathematics related communities could edit their profile to add some MathJax, and not realise that people viewing their profile in other communities will not see the rendered result.

What should the behaviour be?

I'm not sure if this counts as a bug or a feature request, or if it even needs to change, so I'm tagging it discussion. Should a user be warned that the MathJax will look different when viewed from other communities? Should MathJax be disabled for profiles regardless of community? Should MathJax be enabled for profiles even on communities where it is disabled for posts?

Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

1 answer

+5
−0

I'm not sure there's a lot we can do about this, other than potentially adding a warning if MathJax is enabled. It's hard to reliably detect MathJax in a post, and even harder to reliably remove it - so disabling or content-triggered warnings aren't realistically doable.

We could add a simple warning above the profile field on all communities where MathJax is enabled to say that if you use MathJax it will not render on other communities.

Why does this post require moderator attention?
You might want to add some details to your flag.

1 comment thread

Community sensitive warning or disabling based on URL? (1 comment)

Sign up to answer this question »