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=idprovider-increment
(main | idprovider-increment)
- This module requires read rights.
- Source: IDProvider
- License: MIT
Specific parameters:
Other general parameters are available.
- prefix
Prefix/namespace. In case of increments, each prefix gets it's own increment state.
- padding
Minimum length of the generated increment number. Fills it with leading zeros. E.g. padding=5 results in 00001
- Type: integer
- The value must be no less than 0.
- skipUniqueTest
Checks that the ID does not correspond to an already existing wikipage
- Type: boolean (details)
Examples:
- ⧼idp-increment-example-1⧽
- api.php?action=idprovider-increment&padding=8 [open in sandbox]
- ⧼idp-increment-example-2⧽
- api.php?action=idprovider-increment&prefix=TestPrefix_&padding=5&skipUniqueTest= [open in sandbox]