MediaWiki:Apihelp-query+flagged-example-2/qqq

From translatewiki.net
Jump to: navigation, search

Note This message uses technical terminology. Do not translate it, if you are unsure of the meaning this message has in context.

Note Do not translate Special:ApiHelp in this message.

Note Do not translate text that either quoted, or inside <var></var>, <kbd></kbd>, <samp></samp>, or <code></code> in this message.

This is a MediaWiki Action API example description for the "query+flagged" module. See API:Main page at MediaWiki.org for general information.


Parameters:

  • $1 - Module parameter prefix, e.g. "bl"
  • $2 - Module name, e.g. "backlinks"
  • $3 - Module path, e.g. "query+backlinks"

For other messages relating to this module, see:

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.")