16

There are some entertaining Q&As from the early years of Stack Overflow which are no longer on‑topic, such as:

They are now:

Locked. This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions.

There are no questions tagged , and is for other things.

Is there any way to find them other than serendipitously?

5
  • 3
    There is a large list in the answers to meta.stackoverflow.com/questions/256638/… Commented Jul 3, 2021 at 17:44
  • @ThierryLathuille That's a great find! Do you think those questions should be tagged "historical-lock"? That tag exists on meta, where its purpose is for the discussion of historical locks, but not on main where perhaps it could be for questions with a historical lock. (How to get mods to hate you because only they have the power to do that tagging :( ) Commented Jul 3, 2021 at 17:50
  • 3
    Meta tagging is pretty pointless. You can generally just locked:yes is:q or whatever (see the search guide - please don't take my word for it on the exact name, I don't remember, haven't tested, and haven't checked), and sort by votes. It'll give you a relatively big number of questions, but it's a haystack that isn't 10+ million questions, so it's a start Commented Jul 3, 2021 at 18:08
  • @Zoe Because almost all locks except for historical significance expire, you can add a date filter to that query to filter out, say, anything younger than 1 year & get a pretty good list. E.g. locked:yes is:q created:..1y will return all locked Qs which were asked at least 1 year ago or older. Questions locked for dispute will almost surely have had those locks expired (or about to expire, if they were locked for 365 days). The created filter also lets you easily choose older periods like 5y or even more complex like ..1y2m for 1 year and 2 months ago. Move the .. to invert the filter.
    – TylerH
    Commented Jul 5, 2021 at 15:32
  • The boat programming question was hard-deleted, but it lives on (referenced at 1 h 02 min 43 secs in episode 50 of the Stack Overflow podcast, classic series (2009-04-21)). Commented Jul 5, 2021 at 21:36

2 Answers 2

20

Here is a SEDE query that lists all Posts with a historical lock Postnotice.

The Postnotices table isn't sanitized for deleted posts so you can even find links to the old gems that are no longer visible. With 10K you're able to view those questions and their answers.

select distinct
       concat(
         'site://q/'
       , postid
       , '|'
       , case 
         when p.deletiondate is not null 
         then concat('deleted (tags:', tags, ')') 
         else title
         end
      ) [Locked Link]
      , p.creationdate
      , p.score
      , p.answercount
      , p.deletiondate
from postnotices pn
inner join postswithdeleted p on p.id = pn.postid 
where postnoticetypeid = 22 -- hist lock

When run today this is the result (notice that for deleted posts it shows the last known tags):

links to locked posts, creationdate, score, answercount, deletiondate

Keep in mind SEDE is updated once a week on Sunday.
Use the awesome SEDE Tutorial written by the magnificent Monica Cellio.
Say "Hi" in SEDE chat.

1
  • 2
    You beat me! I put basically the same query together a few months ago. I was really surprised I couldn’t find one that already existed, this is a list with some fun entries.
    – zcoop98
    Commented Jul 4, 2021 at 17:02
11

You can find these posts on the annotated posts page using the Noticed filter of the Locked tab.


You will find other posts in this list, such as those with the notice:

There are disputes about this question’s content being resolved at this time. It is not currently accepting new answers or interactions.

But they're limited in count and most of them are of the historical-significance kind. The other filters show other kinds of post notice.

4
  • Upvoted; I'm waiting for any other also-useful answers. How did you find the annotated posts page? Commented Jul 3, 2021 at 18:11
  • 2
    @AndrewMorton I stumbled across it on the List of unlinked pages on Stack Exchange sites some years ago Commented Jul 3, 2021 at 18:14
  • Never seen that path in any of the site nav. Is it primarily intended for admin use?
    – charlietfl
    Commented Jul 3, 2021 at 18:18
  • @Nick I hope the leopard (HHGTTG) didn't give you any trouble! Commented Jul 3, 2021 at 18:21

You must log in to answer this question.

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