« first day (2700 days earlier)      last day (1294 days later) » 

09:22
@ThomasMarkov yeah, either use postlinks with linktypeid = 3 (from the top of my head) and the posthistory has the Originalqustionid burried in the json that is in the text field for typeid=10 and comment = 101 (duplicate closure): data.stackexchange.com/stackoverflow/query/1442543
Some time ago I made this query: Duplicate target of the given post
Above, I have used a question with several duplicate targets as a test.
 
3 hours later…
12:33
I've been looking at the tables suggestededits and users because I'd like to find suggested edits made by deleted users. Not anonymous users. For anonymous users, I can just do an outer join on the users table and have users.id is null.
I'm almost sure that I've seen a suggested edit by a deleted user, as in a grayed out name with the userX (where X is the user id). But I'm not entirely sure that I have.
Is there a way for me to go about finding one such edit? Other than trying to get a moderator to let me know if there's an edit from a user that they're "now" deleting? ;)
Not that I imagine a moderator would be forthcoming with such a strange request.
 
5 hours later…
17:11
@Scratte I don't think SEDE can detect that. The alternative table to look at is PostHistory for typeid 4,5,6 as that has an userid as well.
Hmm.. but I'm interested in the editor only. I can find posts that have deleted users as authors. Which I've used as test cases for another part of my script.
At present I'm checking every suggested edit for the past week that doesn't have an OwnerUserId.. in the hope that I will find one. Which would settle my mind, since the absence of an example doesn't mean there isn't any :(
I'll need to find out what 4, 5 and 6 is.
@rene If we want suggested edits, shouldn't it be PostHistoryTypeId=24?
> 24 = Suggested Edit Applied
Although I know that some things in the database scheme are already obsolete. (Such as old close reasons.)
17:27
Hmm, let me check that
17:40
I'm not sure how to apply this :(
Basically, sure. I can find the post that has had suggested edits to them. But then I'm back as looking at a suggested edit and not knowing how to can determine the difference between those being were made by anonymous or a deleted user..
18:02
It may be so that Stack doesn't ever include the information about this difference. Neither in SEDE, but more importantly also never on suggested edit reviews. Perhaps they all just come out as being made "by an anonymous user". If this is the case, that's all good with me. Expect how do I find out if that is the case?
^ except.. not expect. Sorry about that.
18:35
this is an suggested edit by an deleted user: stackoverflow.com/questions/14052229/…, right?
Okay, I still have some false positives but this looks like it is close enough to find that kind of suggested edits: data.stackexchange.com/stackoverflow/query/1442692 @Scratte All is based on the suggestion from @MartinSleziak to look at typeid = 24
@rene You're my hero! :) This is the corresponding review :)
that query is a fight with the query plan optimizer. I won.
I reckon you almost always do :) Thank you for this :)
Can I link to this from my script?
18:58
of course you can
Thank you :) I'm sure only few will notice. It's going to be on line 1600 or so :)
19:11
I'd ask you to load the review and tell me if you see the same, but.. unfortunately for lots of us, you forgot to nominate for moderator on Stack Overflow.

« first day (2700 days earlier)      last day (1294 days later) »