MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
list=coderevisions (cr)
- This module requires read rights.
- Source: CodeReview
- License: GPL-2.0-or-later
List revisions in CodeReview.
Parameters:
- crrepo
Name of the repository.
- This parameter is required.
- crlimit
How many revisions to return.
- No more than 500 (5,000 for bots) allowed.
- Type: integer or max
- Default: 10
- crpath
Only show revisions in these paths.
- crstart
Timestamp to start listing at.
- Type: integer
- crrevs
List of revisions to get information about. Overrides crstart.
- The values must be no less than 1.
- Type: list of integers
- Separate values with | or alternative. Maximum number of values is 50 (500 for bots).
- crprop
Which properties to return.
- Values (separate with | or alternative): revid, status, commentcount, path, message, author, tags, timestamp, followups, followedup
- Default: revid|status|author|timestamp
Examples:
- List revisions in MediaWiki
- api.php?action=query&list=coderevisions&crrepo=MediaWiki [open in sandbox]
- Fetch info for revisions in MediaWiki
- api.php?action=query&list=coderevisions&crrepo=MediaWiki&crprop=revid|author|status|timestamp|tags [open in sandbox]