Open main menu
MediaWiki:Apihelp-query+duplicatefiles-param-localonly
Look only for files in the local repository.