MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
list=codepaths (cp)
- This module requires read rights.
- Source: CodeReview
- License: GPL-2.0-or-later
Get a list of 10 paths in a given repository, based on the input path prefix.
Parameters:
- cprepo
Name of the repository.
- This parameter is required.
- cppath
Path prefix to filter on.
- This parameter is required.
Example:
- Get paths in MediaWiki under /trunk/phase3
- api.php?action=query&list=codepaths&cprepo=MediaWiki&cppath=/trunk/phase3 [open in sandbox]