You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Find all the articles in the "... by quality" category for the project
Compare to all of the articles in the ratings table for that project
For any articles that are in the db (ratings table) but not the category:
4. Check if their quality/importance is already set to NotAClass. If so, skip
5. Check if they have been moved in 3 different ways.
6. If so, set the move data for that log
7. Regardless, set their quality or importance rating (or both) to NotAClass.
There is additional separate logic for deleting articles with this WHERE clause:
WHERE r_project=%(r_project)s AND
(r_quality IS NULL OR r_quality=%(not_a_class)s) AND
(r_importance IS NULL OR r_importance=%(not_a_class)s)
So the bug is that articles in different namespaces like Category pages:
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 project4. Check if their quality/importance is already set to
NotAClass
. If so, skip5. Check if they have been moved in 3 different ways.
6. If so, set the move data for that log
7. Regardless, set their quality or importance rating (or both) to
NotAClass
.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.The text was updated successfully, but these errors were encountered: