99

So today I was fielding a flag about another run of plagiarism on Documentation, and found an edit on an example that was plagiarized from a Programmers answer. The rest of the example was original, just this edit was plagiarized.

I wanted to roll back the edit, so I went to the revision history for the example, picked the revision right before the plagiarism, chose View Topic and chose the option "Create draft rolling back to this version" (as described here).

Only oops, there had been a bunch of revisions since them on other examples in this topic, revisions that were not listed under the example I was looking at. So I accidentally had blown away all those changes and had to go dig through the topic's revision history to find the correct revision on the entire topic that took me to a point before the plagiarism was inserted.

Could we have a way of rolling back edits just within the scope of a specific example, ignoring the rest of the topic? Also, the rollback options should be present directly in the revision history, because I didn't even know how to do this until shown by an SE employee.

7
  • 11
    or more alternatively, View edit could also offer a rollback option (instead of just view topic). In general I like your feature request. It could also be part of generally being able to split up edits and approve the one half and reject the other half…
    – bwoebi
    Aug 1, 2016 at 17:47
  • 1
    Bravo! Adding this granularity would help greatly when reviewing Examples.
    – markE
    Aug 1, 2016 at 18:09
  • @bwoebi meta.stackoverflow.com/questions/329577/…
    – Knu
    Aug 2, 2016 at 13:37
  • 1
    @Knu yes, I'm aware, I even commented there. The main point is giving the reviewer the ability to separate something into concrete drafts which are rejected/approved individually instead of being able to reject/approve in the same draft (which I think will be quite confusing).
    – bwoebi
    Aug 2, 2016 at 13:44
  • @markE meta.stackoverflow.com/questions/328614/…
    – Knu
    Aug 2, 2016 at 13:46
  • I had a similar problem which let to the problems mentioned in this question: meta.stackoverflow.com/questions/330313/…
    – Tot Zam
    Aug 2, 2016 at 15:21
  • 7
    What really makes this feature a bite in the behind is that you can't even see what you're removing. It does create a draft for you to review, but there's no diff to see what's changing between the current version of the topic and the draft you're creating. It's already done everything for you and just has some labels next to each example describing what's changed with no way to see what the system changed or, more importantly, if those changes are what you intend.
    – animuson StaffMod
    Aug 2, 2016 at 15:30

2 Answers 2

11

If you view the revision history for an example, view the previous version of a topic will display an option to rollback just that example.

enter image description here

2
  • @TravisJ should be fixed, some new calculations for "who has contributed to this" made some incorrect assumptions about timing. Sep 2, 2016 at 19:47
  • This feature is close to impossible to find. Restoring a deleted example: view topic - view history - find edit - view topic - find example - view history - find edit - view topic - find example - rollback - publish.
    – Athari
    Oct 2, 2016 at 15:23
59

Here's an idea. I know it's crazy, but hear me out.

Let's have examples be the primary unit of documentation, with each example separate from all others.

Now I know nobody's ever heard this one before. This wasn't a topic of heated debate during the closed beta. And we've never had a site work where individual posts are actually individual posts, rather than having combined editing.

But it might just work.

</sarcasm>

5
  • 4
    Many contributions to docs will involve splitting and merging examples, which might not figure into your plan. (Well, it doesn't jibe with the current system either.) Also, separately edited posts would require more reviews and (probably) more work for editors, even if they are just sweeping through to fix some out-of-date thing.
    – Frank
    Aug 1, 2016 at 21:59
  • 3
    Given the some examples should be in more then one topic as they cover how to use two systems together..... Aug 2, 2016 at 8:20
  • 2
    Fine, if we do that. You should though still be able to submit an edit which touches multiple examples at once. But this should not be too much of a problem I guess…
    – bwoebi
    Aug 2, 2016 at 9:01
  • We definitively need this feature. This will make reviewing easier and not harder. Often editors mix unnecessary or wrong edits to multiple examples along with correct (or completely new example) that is worth approving while other changes are not.
    – Dalija Prasnikar Mod
    Aug 3, 2016 at 11:56
  • 6
    The "heated debate during the closed beta"...what was the counter-argument? Everything becomes easier when we mash it into opaque blobs? Merging was so much better back when everyone used CVS? Aug 3, 2016 at 12:18

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