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