API:Tags

From MediaWiki.org
Jump to: navigation, search
This page is part of the MediaWiki action API documentation.

MediaWiki action API

v · d · e

List valid change tags.

Parameters[edit]

  • continue: When more results are available, use this to continue.
  • limit: The maximum number of tags to list. No more than 500 (5000 for bots) allowed. Type: limit (Default: 10)
  • prop: Which properties to get. (Default: name)
    • name: Adds name of tag. (Note: this is a dummy property—the name will always be added, even if not specified.)
    • displayname: Adds system message for the tag.
    • description: Adds description of the tag.
    • hitcount: Adds the amount of revisions that have this tag.

Example[edit]

List the hitcount for the first 5 change tags.