6

I know that the code formatting filter ("your post appears to contain code that is not properly formatted as code") is enabled on Stack Overflow.

However, are there any other sites where this filter is enabled? For example, Code Review or Code Golf? Can the code formatting filter be enabled on particular sites on a request basis?

I'm asking because I've seen a few questions about it closed as off-topic as only about a specific site (SO). Are such closures justified?

2 Answers 2

2

It's currently enabled on 4 sites. It probably should be enabled on a lot more (for instance, only one out of the four internationalized Stack Overflows has it turned on). It can be easily enabled upon a request from the members of a site that needs it.

Questions regarding the code formatting check should be considered on-topic for any meta if the question is otherwise within that site's scope.

3
  • 2
    Which sites are the four? Commented Oct 13, 2018 at 1:20
  • @Sonic maybe they keep it a secret to prevent flood of badly formatted questions on the sites without the filter. (i.e. if one knows there is no filter, why bother formatting the code?) Commented Oct 14, 2018 at 8:25
  • 2
    No, I just don't particularly care to maintain a list. If anyone really wants this, it's trivial to determine if a given site has the check enabled: create a new account and try to post unformatted code.
    – Shog9
    Commented Oct 14, 2018 at 15:54
3

I wanted a list, so I made a list:

  • Code Review
  • Mathematica
  • Software Engineering
  • Stack Overflow
  • Stack Overflow in Spanish ("Stack Overflow en español")
  • Stack Overflow in Russian ("Stack Overflow на русском")

Some of this information comes from searching Stack Exchange for posts on the relevant metas.

Two of these sites, Code Review and Mathematica, also have MathJax enabled.

2
  • 1
    I believe it's also enabled on on Software Engineering (as of 2016) and Stack Overflow in Spanish/Stack Overflow en español (as of 2019). Here's a relevant discussion on the former about the feature. Presumably a translated version of the "not properly formatted as code" message appears on SO in Spanish, but searching their Meta isn't returning any obviously relevant results for me.
    – V2Blast
    Commented Mar 1, 2023 at 15:29
  • 1
    Software Engineering definitely has the filter, so apparently, at least five sites have it. Commented Mar 4, 2023 at 17:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .