Open audiodude opened 4 months ago
My evaluation above is incorrect, because of course NA-Class
is not the same as NotA-Class
. Of course!
So there's some other reason why 1725_plays
, which is deleted, still appears in the ratings table.
The bot is running right now so I don't want to mess with debugging this just yet.
In #737, a WikiProject selection with multiple projects winds up with an article list that contains dozens of deleted articles.
This seems due to the fact that articles which have been deleted from English Wikipedia are never deleted from the
ratings
db table. The algorithm goes like this:ratings
table for that projectNotAClass
. If so, skipNotAClass
.There is additional separate logic for deleting articles with this WHERE clause:
So the bug is that articles in different namespaces like Category pages:
End up never being deleted!
My guess is that we could change the WHERE clause to include an
OR r_namespace > 0
clause.