Bantuan API MediaWiki
Ini merupakan laman dokumentasi MediaWiki API yang dihasilkan secara automatik.
Dokumentasi dan contoh-contoh: https://www.mediawiki.org/wiki/API
prop=duplicatefiles (df)
- Modul ini memerlukan hak membaca.
- Modul ini boleh digunakan sebagai penjana.
- Source: MediaWiki
- License: GPL-2.0-or-later
List all files that are duplicates of the given files based on hash values.
Parameter:
- dflimit
How many duplicate files to return.
- Type: integer or max
- The value must be between 1 and 500.
- Asal: 10
- dfcontinue
When more results are available, use this to continue.
- dfdir
The direction in which to list.
- One of the following values: ascending, descending
- Asal: ascending
- dflocalonly
Look only for files in the local repository.
- Type: boolean (details)
Contoh-contoh:
- 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]