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=flexform
(main | flexform)
- This module requires read rights.
- Source: FlexForm
- License: GPL-2.0-or-later
Range and next available queries
Parameters:
- what
What action do you want to do? (getRange or nextAvailable)
- This parameter is required.
- titleStartsWith
Title name to search for e.g. Invoice/
- This parameter is required.
- range
When using getRange, define the range. Eg. 0000-9999
- for
- ā§¼apihelp-flexform-param-forā§½
- mId
When using acknowledge, this should hold the message ID.
Examples:
- Get the first free Title number in a range from 0-9999 and a Title that starts with Invoice
- api.php?action=flexform&what=getRange&titleStartsWith=Invoice/&range=0000-9999 [open in sandbox]
- Get the next available (highest) Title number that is free for a Title that starts with Invoice/
- api.php?action=flexform&what=nextAvailable&&titleStartsWith=Invoice/ [open in sandbox]