What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

I've had several edits 'Rejected' where the main (or only) change was adding a language-hint. This is usually where the question or answer has no associated language tag, or the answer includes a snippet in a different language than is tagged in the question.

I make these edits because I feel:

  1. all code should be formatted as code w/ the proper syntax highlighting, and also
  2. that authors will see the edit and language-hints will become more widely used.

If there is a significant amount of code in the question/answer, the one line hint can make the item much more readable, but the reason given for the rejection is usually

This edit is too minor; suggested edits should be substantive improvements addressing multiple issues in the post.

Thoughts?

share|improve this question
    
Please resubmit your two most recent rejected edits. Those should have been approved. –  Bill the Lizard Mar 2 '12 at 13:09
7  
It might be because on the review page there's no syntax highlighting, so the reviewers can't see what difference it makes. –  Daniel Fischer Mar 2 '12 at 13:21
    
@BilltheLizard - I didn't realize you could resubmit rejected edits. For those lateset two, I'll resubmit. Thanks. –  Dave M Mar 2 '12 at 14:17
4  
To add on to what Daniel suggests, make sure that your changes are made very clear in the "description" field. Explain that you've added language hinting to make the syntax highlighting appear correctly. I've probably rejected some of these inadvertently, too. Most of the suggested edits I say have descriptions like "fixed the post" or worse, describing something that they did some other time. Don't be that person, I don't feel bad about rejecting those edits. It's just like writing a check-in message for code. –  Cody Gray Mar 2 '12 at 21:19
4  
Just want to note this, because we've seen it with other users: If the correct language-tag is missing, add the tag and not the language-hint! –  Time Traveling Bobby Oct 22 '12 at 7:18

1 Answer 1

up vote 2 down vote accepted

Came to meta to ask the same question, though in my case I was wondering as a reviewer how to handle this case. Given that the question's already here, but no answers yet, I'll post my suggestion for these cases:

  • If a post is OK, but missing a language hint for a code block, edits should be allowed / approved.
  • If a missing language hint is just one of the (obvious) problems with a post, make sure you try to fix the whole post - otherwise just adding a language hint may be too minor.
share|improve this answer

You must log in to answer this question.

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