22

I recently asked a question on Stack Overflow. Someone edited it but then reverted the edit (as indicated by "[Edit removed during grace period]").

If the user didn't contribute to improving my question, why does that user appear on the question page as the editor?


My arguments against the current behavior:

  1. Correctness: Nothing has been edited.
  2. Self-promotion: One gets listed as the most recent editor not having edited.
  3. Visual clutter: The widget is a distracting cue to browse the revision history, especially if a lower-rep user has modified a higher-rep user's question. (In cases like these, there's no need to view the revision history because no modifications have been made.)
10
  • 1
    Yeah, this will remain always (not caching). But I really didn't wondered why is it done in this way before, thats actually interesting.
    – nicael
    Commented Dec 30, 2014 at 20:36
  • 6
    You have this tagged as a bug, which it is not. If you just want a general answer, the simplest is "because a revision still exists and that's the way the system works." I get the feeling, though, that you'd like this to change, in which case it'd be better transformed as a feature-request.
    – animuson StaffMod
    Commented Dec 30, 2014 at 20:37
  • @animuson I didn't know it wasn't a bug. Moved to feature-request. Thanks. Commented Dec 30, 2014 at 20:38
  • 13
    To go into more detail why the system works that way (currently): because when a user edits a post, their user ID gets permanently cached into a variable on that post as the LastEditorUserId. That only gets updated when another user subsequently edits the post. Reverting that when a user retracts an edit requires crawling through the revision history to find the last revision that qualifies as a "last editor" (since there could be multiple retracted edits). I'm not sure how much Stack Exchange cares about this to change the way the feature behaves.
    – animuson StaffMod
    Commented Dec 30, 2014 at 20:41
  • 1
    I think it is for the sake of simplicity of the implementation. Originally, edits removed during grace period will not generate any revision. Later a feature request to leave a revision is made and fulfilled, so it just display the user who made the last revision regardless.
    – nhahtdh
    Commented Dec 31, 2014 at 2:03
  • @Nit This appears to need to be done during the 5 (or 10? I forget now) minute period immediately following the original post, or maybe the edit must be small enough that the two revisions are merged. (I'm not sure exactly.)
    – Radiodef
    Commented Dec 31, 2014 at 17:23
  • @Radiodef Thanks for explaining, I tried it out because I've never even seen this happen.
    – Etheryte
    Commented Dec 31, 2014 at 17:24
  • 1
    Why not just strike through the "edited x time ago"? That should make it clear that the revision was rolled back.
    – user3926016
    Commented Jan 2, 2015 at 12:09
  • This is really a feature to identify when people are retracting their edits. I wouldn't be largely concerned with visual real estate or self promotion. There are plenty of other ways to enforce self promotion issues if a user is repeatedly misusing this quirk just to appear on someone's revision history, which I greatly doubt.
    – KyleMit StaffMod
    Commented Jan 2, 2015 at 13:37
  • 3
    I don't think there's really anything all that glamorous about being the most recent editor on some question. The edited ... widget is for informational purposes, and if it's not strictly correct all the time, I don't think it's really a big deal.
    – JLRishe
    Commented Mar 29, 2015 at 20:48

1 Answer 1

5

Rolling back a revision in general also counts as an edit. The grace period is fairly irrelevant here.

The "edited by" feature on the questions list is relatively recent. Back in the day, we used a more general "modified by" approach that didn't go into specifics of the last activity. We still retain that when an action doesn't clearly map to making an edit or posting an answer.

All in all, I'm with JLRishe here:

I don't think there's really anything all that glamorous about being the most recent editor on some question.

We are careful not to attribute authorship to someone who didn't actually post the question. So long as your content isn't negatively affected (and note that we still attribute the post to you as the author), and strictly speaking someone did edit it... I'm inclined to call this as working as intended.

You must log in to answer this question.

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