API:Duplicatefiles

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎dansk • ‎español • ‎français • ‎português • ‎română • ‎русский • ‎ไทย • ‎中文 • ‎日本語 • ‎한국어

List duplicates of the given files.

Parameters[edit]

  • dflimit: How many duplicates to list.
  • dfcontinue: When more results are available, use this to continue.
  • dfdir: The direction in which to list. Possible values: ascending, descending (Default: ascending) 1.20+
  • dflocalonly: Look only for files in the local repository. Type: boolean 1.20+

Example[edit]

List duplicates of two images

Possible errors[edit]

None



prop=duplicatefiles (df)

(main | query | duplicatefiles)
  • This module requires read rights.
  • 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.

Parameters:
dflimit

How many duplicate files to return.

No more than 500 (5,000 for bots) allowed.
Type: integer or max
Default: 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
Default: ascending
dflocalonly

Look only for files in the local repository.

Type: boolean (details)