Script for deleting Files with No Global Usage#6
Conversation
hjpalpha
left a comment
There was a problem hiding this comment.
imo add it into delete.py
As a param? I'm not quite sure how to |
personally i would envision a param ala you could take the open/closed prs as examples if you need help with it lmk, i can look into it when i have some time inbetween meetings etc in the next days/weeks |
Is there a good reason not to remove the namespace check and call it Could also think about whether we just want to have it on by default and a flag to disable it. |
yeah was thinking about that too
if we do that limit it to commons |
We could check local usage in these cases - however there are not many occasions for non-commons bot deletions, right? |
not often, no |
|
superseded by #7 |
This is a script FO wrote for me a while back that allows to easily delete files on Commons that have no usage across the wikis. I've only ever used it on
Category:Unknown Licenseas a way to make checking usage easier when I went on deletion runs.The addition of this code is the only change from the normal deletion script: