MediaWiki API hulp
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=deletedrevs (dr)
- Deze module is verouderd.
- Voor deze module zijn leesrechten nodig.
- Bron: MediaWiki
- Licentie: GPL-2.0-or-later
List deleted revisions.
Operates in three modes:
- List deleted revisions for the given titles, sorted by timestamp.
- List deleted contributions for the given user, sorted by timestamp (no titles specified).
- List all deleted revisions in the given namespace, sorted by title and timestamp (no titles specified, druser not set).
Certain parameters only apply to some modes and are ignored in others.
- drstart
The timestamp to start enumerating from.
- Modi: 1, 2
- Type: timestamp (allowed formats)
- drend
The timestamp to stop enumerating at.
- Modi: 1, 2
- Type: timestamp (allowed formats)
- drdir
In which direction to enumerate:
- newer
- List oldest first. Note: drstart has to be before drend.
- older
- List newest first (default). Note: drstart has to be later than drend.
- Modi: 1, 3
- Een van de volgende waarden: newer, older
- Standaard: older
- drfrom
Start listing at this title.
- Modus: 3
- drto
Stop listing at this title.
- Modus: 3
- drprefix
Search for all page titles that begin with this value.
- Modus: 3
- drunique
List only one revision for each page.
- Modus: 3
- Type: boolean (details)
- drnamespace
Only list pages in this namespace.
- Modus: 3
- Een van de volgende waarden: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 2300, 2301, 2302, 2303
- Standaard: 0
- drtag
Alleen revisies met dit label weergeven.
- druser
Only list revisions by this user.
- Type: gebruiker, met een van gebruikersnaam, IP-adres, interwikinaam (bijv. "voorvoegsel>VoorbeeldNaam") en gebruikers-ID (bijv. "#12345")
- drexcludeuser
Don't list revisions by this user.
- Type: gebruiker, met een van gebruikersnaam, IP-adres, interwikinaam (bijv. "voorvoegsel>VoorbeeldNaam") en gebruikers-ID (bijv. "#12345")
- drprop
Which properties to get:
- revid
- Adds the revision ID of the deleted revision.
- parentid
- Adds the revision ID of the previous revision to the page.
- user
- Adds the user who made the revision.
- userid
- Adds the ID of the user who made the revision.
- comment
- Adds the comment of the revision.
- parsedcomment
- Adds the parsed comment of the revision.
- minor
- Tags if the revision is minor.
- len
- Adds the length (bytes) of the revision.
- sha1
- Adds the SHA-1 (base 16) of the revision.
- content
- Adds the content of the revision.
- token
- Deprecated. Gives the edit token.
- tags
- Tags for the revision.
- Waarden (gescheiden met | of alternatief): comment, content, len, minor, parentid, parsedcomment, revid, sha1, tags, token, user, userid
- Standaard: user|comment
- drlimit
The maximum amount of revisions to list.
- Type: geheel getal of max
- The value must be between 1 and 500.
- Standaard: 10
- drcontinue
When more results are available, use this to continue.
- List the last deleted revisions of the pages Main Page and Talk:Main Page, with content (mode 1).
- api.php?action=query&list=deletedrevs&titles=Main%20Page|Talk:Main%20Page&drprop=user|comment|content [open in de zandbak]
- List the last 50 deleted contributions by Bob (mode 2).
- api.php?action=query&list=deletedrevs&druser=Bob&drlimit=50 [open in de zandbak]
- List the first 50 deleted revisions in the main namespace (mode 3).
- api.php?action=query&list=deletedrevs&drdir=newer&drlimit=50 [open in de zandbak]
- List the first 50 deleted pages in the Overleg namespace (mode 3).
- api.php?action=query&list=deletedrevs&drdir=newer&drlimit=50&drnamespace=1&drunique= [open in de zandbak]