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=graph
(main | graph)
- This module requires read rights.
- Source: Graph
- License: MIT
Access graph tag functionality.
Parameters:
- hash
Hash value of the graph
- title
Title of the page with the graph
- text
Text of the graph to be converted to JSON. Must be posted and used without title and hash parameters
- oldid
ID of the revision of the page with the graph
- Type: integer
- Default: 0
Example:
- Get the graph JSON by hash and title
- api.php?formatversion=2&action=graph&title=Extension%3AGraph%2FDemo&hash=1533aaad45c733dcc7e07614b54cbae4119a6747 [open in sandbox]