Extension:IDProvider/de

The IDProvider extension provides the generation of (unique) IDs through different ID algorithms. They can be accessed through parser functions, API or as a static PHP function.

Verwendung
The ApiSandbox will display and document all available options. All parameters are given as key values and work the same way whether you use the parser function, api or a static php call.



Durch Parser-Funktionen
This makes most sense in combination with. There it can be used for auto-creating unique page titles.

#idprovider-increment

 * api.php?action=idprovider-increment
 * api.php?action=idprovider-increment&prefix=Issue_&padding=8&skipUniqueTest=true

#idprovider-random

 * api.php?action=idprovider-random&type=uuid
 * api.php?action=idprovider-random&type=fakeid&prefix=Issue_&skipUniqueTest=true



Through a static PHP call
For more examples, take a look at the unit-tests.

IDProviderFunctions::getRandom


Siehe auch

 * - Provides a parser function for numeric IDs. Alternative to IDProvider that can be installed via Composer.
 * – Allows to substitute the IDs generated