3

If a user has put more code in a question than normally allowed, but formatted incorrectly, how can we edit this post to correct the formatting?
The attempt to just format all the code correctly gives this error

It looks like your post is mostly code; please add some more details.

Then which type of info we edit. For example I provide a link:

How to populate gridview with images based on spinner selection.

How can I improve this?

17
  • I find it hard to really understand your question. Would you lilke to try rephrasing? I think giving some more introduction would help. The "more" at the start is one of the things which distract me.
    – Yunnosch
    Commented Sep 10, 2018 at 6:14
  • Actually some times user can putted code in uncorrected formatted. If we edit these types of post then if user provide less info then how can i edit these types of posts. Commented Sep 10, 2018 at 6:17
  • 1
    I think you are referring to questions which only have enough non-code text because OP has misformatted most of the question, which actually consists mostly of code. A comment recommending to edit into correct formatting AND adding more explanation is probably the way to go. Maybe ask politely, whether OP has intentionally misformatted because of the warning. If you can argue that the question is too broad then use that close-vote/flag.
    – Yunnosch
    Commented Sep 10, 2018 at 6:18
  • I am not sure that you and I have the same understanding of the word "less". To me it is the opposite of "more". You seem to be using it in the sense of "too little" or "more", the fact that I am not even sure about which one is part fo the confusion I mentioned.
    – Yunnosch
    Commented Sep 10, 2018 at 6:18
  • @Yunnosch As you understand Commented Sep 10, 2018 at 6:26
  • means too little is used for less Commented Sep 10, 2018 at 6:28
  • I give a link please see this example and edit this Commented Sep 10, 2018 at 6:28
  • Did you try to format all code as "quote" AND "code"? If that works, the question is improved by at least using the same misformatting for everything.
    – Yunnosch
    Commented Sep 10, 2018 at 6:30
  • Let us continue this discussion in chat. Commented Sep 10, 2018 at 6:32
  • Could somebody else with <2k rep please try whether mis-formatting the question, but at least consistently, is possible? I do not want to try with my >10k privileges, I might succeed without it being helpful below 2k rep. If it works below 2k, then I think for the special case of the linked example, it would mean at least a little improvement of the question. I would like to add that to my answer, so I need somebody <2k to try. If somebody tries and succeeds, everybody else of course please look at the edit history to see OPs example.
    – Yunnosch
    Commented Sep 10, 2018 at 6:49
  • 1
    I have edited your question for readability. Please let me know if I got something wrong.
    – Yunnosch
    Commented Sep 10, 2018 at 6:56
  • @Yunnosch Yes that's it. Thanks for editing and clearance Commented Sep 10, 2018 at 6:58
  • 1
    @AndrewT. yes i think but there are no example Commented Sep 10, 2018 at 7:12
  • 1
    @Yunnosch is right about edit suggestion by <2k rep. This is one of many restrictions for those without full edit privilege (<2k rep).
    – Andrew T.
    Commented Sep 10, 2018 at 7:22
  • 1
    Andrew has higher privileges. It is the reason why I asked people BELOW 2k to try and edit. Andrew chose to edit anyway. I am not surprised that he succeeded in editing where you (below 2k) could not.
    – Yunnosch
    Commented Sep 10, 2018 at 7:23

1 Answer 1

4

I think you are referring to questions which only have enough non-code text because the OP has misformatted most of the question, which actually consists mostly of code.

The problem in this case is that editing the question towards correct formatting is impossible, because of the warning about too little explanation with mostly code.

A comment (implicitly addressed at the OP) recommending to edit into correct formatting AND adding more explanation is probably the way to go. Maybe ask politely, whether the OP has intentionally misformatted because of the warning. The example question you linked, however, is so old that a reaction by the OP is unlikely.

If you can argue that the question is too broad then use that close-vote/flag.

(I asked for an experiment by a <2k user, to at least improve the question a little, by formatting consistently though still wrong. That experiment is now not possible anymore on the linked example question. If anybody finds a different similar question and could try with <2k, I would like to know the result. However, for users below 2k privileges, this kind of questions are best just left alone. This matches the answers on the duplicate question somebody has found by now.)

3
  • what is the meaning of OP Commented Sep 10, 2018 at 7:14
  • 1
    @ShivamKumar "Original Poster" (the person) or "Origianal Post" (the text). In the case of this meta question here: You. In the case of the linked example main question: Somebody else.
    – Yunnosch
    Commented Sep 10, 2018 at 7:15
  • Related meta answer: "This restriction only applies to suggested edits, so any user with at least 2k reputation can freely edit posts such as this."
    – Andrew T.
    Commented Sep 10, 2018 at 7:31

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