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
prop=flagged
- This module requires read rights.
- Source: Flagged Revisions
- License: GPL-2.0-or-later
Get information about the flagging status of the given pages.
If a page is flagged, the following parameters are returned:
- stable_revid
- The revision ID of the latest stable revision.
- level
- level_text
- The highest flagging level of the page.
- pending_since
- If there are any current unreviewed revisions for that page, holds the timestamp of the first of them.
If the page has protection configuration, the following parameters are returned:
- protection_level
- The right a user must have to not require review on the page.
- protection_expiry
- When the protection expires.
Examples:
- Get page information and flag status of Main Page
- api.php?action=query&prop=info|flagged&titles=Main%20Page [open in sandbox]
- Get flag statuses for pages starting with "K"
- api.php?action=query&generator=allpages&gapfrom=K&prop=flagged [open in sandbox]