我正在尝试减少所用存储的大小。我想知道有什么方法可以知道文件是否已经存在,如果没有,请获取其路径,然后保存图像。
在special pages页面中,您可以找到List of files with duplicates。
special pages
List of files with duplicates
通过API query action,您可以提取称为duplicatefiles的标准属性,可以与生成器allimages结合使用
duplicatefiles
allimages
api.php?action=query&generator=allimages&prop=duplicatefiles