MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=codediff
(main | codediff)
- This module requires read rights.
- Source: CodeReview
- License: GPL-2.0-or-later
Fetch formatted diff from CodeReview's backing revision control system.
Parameters:
- repo
Name of repository to look at.
- This parameter is required.
- rev
Revision ID to fetch diff of.
- This parameter is required.
- The value must be no less than 1.
- Type: integer
Example:
- Fetch a diff for MediaWiki revision 42080
- api.php?action=codediff&repo=MediaWiki&rev=42080 [open in sandbox]