API:Ficheiros Duplicados

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page API:Duplicatefiles and the translation is 90% complete.

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

List duplicates of the given files.

Parâmetros

  • dflimit: Quantos duplicados a listar.
  • dfcontinue: Quando estiverem disponíveis mais resultados, utilize isto para continuar.
  • dfdir: A direção na qual listar. Possible values: ascending, descending (Default: ascending) 1.20+
  • dflocalonly: Procure apenas por ficheiros no repositório local. Type: boolean 1.20+

Exemplo

List duplicates of two images

Possíveis erros

Nenhum



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)