Can we somehow see a list of all the questions that were ever featured in meta at some point?
1 Answer
Use this SEDE Query to find the still visible questions that once had the featured tag.
We basically look at the PostHistory table and look for events where tags are added/edited.
select postid as [Post Link]
, count(*) [# of times]
from posthistory
where posthistorytypeid in (3,6,9)
and text like '%<featured>%'
group by postid
order by min(creationdate)desc
when run today this is your result:
There are no deleted questions that still have the featured tag but I can't rule out some deleted question might have had them. If you want those, you would need a CM to run the query on the internal SEDE instance.
-
5Kinda disappointed. I thought it would take you less time to answer this. Do try to keep up.– yiviFeb 11, 2020 at 14:50
-
OK, I was trying to look into the edits directly to try and find the tag there. But for some reason the RevisionGUID from
PostHistory
doesn't link to RevisionGUID inSuggestedEdits
? I'm quite new to SEDE, so maybe I'm missing something but I thought edits were supposed to be in theSuggestedEdits
table (even though nobody votes on them). Perhaps my approach was overly formal but it was to familiarise myself with the db structure - I wanted to joinPostHistory
to the edits and check for an edit that introduced thefeatured
tag.– VLAZFeb 11, 2020 at 14:54 -
@VLAZ not all edits are suggested-edits. Suggested edits only hold those that are by <2k users and mod edits never go through the queue anyway as their edits are binding. PostHistory is the only table you need (and the text column will hold what was changed for edits)– reneFeb 11, 2020 at 15:00
-
1
-
@rene thanks. So
SuggestedEdits
really is (as the name states) for suggested edits? I just thought that was...odd. I expected an edit to make a "suggested" edit and auto-approve it or something. So, do 2k+ edits go straight intoPostHistory
? It just seems slightly error-prone to look at just the Comment column. Although I guess if you change the text in the post and edits you get two entries in the table. Right now I'm mostly guessing and trying to verify my ideas of how it probably works by checking against a real example.– VLAZFeb 11, 2020 at 15:04 -
1Yes, they go straight into posthistory. I have an answer on revisions on MSE meta.stackexchange.com/a/297037/158100 @VLAZ– reneFeb 11, 2020 at 15:06
-
@rene OK, thank you that clears up things a lot. The RevisionGUID misled me, I suppose. I thought it was a foreign link where it's actually referring to the same table, grouping entries together.– VLAZFeb 11, 2020 at 15:13