5

This question already has an answer here:

How can I see the source code on a suggested edit review page?

I want a similar thing as in this link for this suggested edit.

marked as duplicate by Nathan Tuggy, Sonic the Inclusive Hedgehog, Ward, Robert Longson, Donald Duck Aug 31 '18 at 10:10

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

3

Well, you can click the 'markdown' link to see what has been edited:

enter image description here

You'll need to combine that (manually) with the source code of the revision the edit was suggested to, if you want the complete source code of the suggested edit. An approved or improved edit will show up in the revision list; this 'trick' is only necessary for rejected edits.

I tried to find a way to obtain the source with the API, but

  1. that returns the rendered body
  2. the suggested edit IDs used by the API are different from the ones you see in the URL.

Another option would be to wait until next Sunday and fetch the Text from the SuggestedEdits table in SEDE. However, it's complicated (impossible?) to correctly fetch the whitespace.

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