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)
- Ta modul zahteva pravice branja.
- This module can be used as a generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
List all files that are duplicates of the given files based on hash values.
Specifični parametri:
Na voljo so tudi drugi splošni parametri.
- dflimit
How many duplicate files to return.
- Type: integer or max
- Vrednost mora biti med 1 in 500.
- Privzeto: 10
- dfcontinue
Ko bo na voljo več rezultatov, uporabite to za nadaljevanje. Podrobnejše informacije o nadaljevanju poizvedb lahko najdete na mediawiki.org.
- dfdir
The direction in which to list.
- One of the following values: ascending, descending
- Privzeto: ascending
- dflocalonly
Look only for files in the local repository.
- Type: boolean (details)
Zgleda:
- Look for duplicates of File:Albert Einstein Head.jpg.
- api.php?action=query&titles=File:Albert_Einstein_Head.jpg&prop=duplicatefiles [open in sandbox]
- Look for duplicates of all files.
- api.php?action=query&generator=allimages&prop=duplicatefiles [open in sandbox]