MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
prop=duplicatefiles (df)
- This module requires read rights.
- This module can be used as a generator.
- Lähde: MediaWiki
- Lisenssi: GPL-2.0-or-later
List all files that are duplicates of the given files based on hash values.
Parametrit:
Other general parameters are available.
- dflimit
How many duplicate files to return.
- Type: integer or max
- The value must be between 1 and 500.
- Default: 10
- dfcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- dfdir
The direction in which to list.
- One of the following values: ascending, descending
- Default: ascending
- dflocalonly
Look only for files in the local repository.
- Type: boolean (details)
esimerkkiä:
- Look for duplicates of File:Albert Einstein Head.jpg.
- api.php?action=query&titles=File:Albert_Einstein_Head.jpg&prop=duplicatefiles [avaa hiekkalaatikossa]
- Look for duplicates of all files.
- api.php?action=query&generator=allimages&prop=duplicatefiles [avaa hiekkalaatikossa]