MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
list=codecomments (cc)
- This module requires read rights.
- Source: CodeReview
- License: GPL-2.0-or-later
List comments on revisions in CodeReview.
Parameters:
- ccrepo
Name of the repository.
- This parameter is required.
- cclimit
How many comments to return.
- No more than 500 (5,000 for bots) allowed.
- Type: integer or max
- Default: 10
- ccstart
Timestamp to start listing at.
- Type: timestamp (allowed formats)
- ccprop
Which properties to return. revision is a deprecated alias for status.
- Values (separate with | or alternative): timestamp, user, status, text, revid, revision
- Default: timestamp|user|status|revid
Examples:
- List comments on repo MediaWiki
- api.php?action=query&list=codecomments&ccrepo=MediaWiki [open in sandbox]
- Show information for comments on repo MediaWiki
- api.php?action=query&list=codecomments&ccrepo=MediaWiki&ccprop=timestamp|user|status|text [open in sandbox]