MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=starlightlist
(main | starlightlist)
- This module requires read rights.
- Source: Starlight
- License: AGPL-3.0-or-later
List reviews for a page
Specific parameters:
Other general parameters are available.
- pageid
(no description)
- This parameter is required.
- Type: integer
- sort
(no description)
- One of the following values: highest-rating, lowest-rating, most-verified, newest, oldest, smart
- Default: smart
- limit
(no description)
- Type: integer
- The value must be between 1 and 50.
- Default: 10
- offset
(no description)
- Type: integer
- The value must be no less than 0.
- Default: 0
- render
(no description)
- Type: boolean (details)
Examples:
- Get reviews for a page
- api.php?action=starlightlist&pageid=123 [open in sandbox]
- Get rendered HTML of reviews
- api.php?action=starlightlist&pageid=123&sort=newest&limit=20&render=true [open in sandbox]