Extension:MikFunctions

The MikFunctions extension defines an additional set of parser functions that provide dynamic functionality and cannot be cached.

This extension currently works only on *NIX servers

Usage
This module defines four functions: seqnext. All of these functions operate in constant time.

#seqnext:
The #seqnext function returns the value of next integer int the defined sequence. The syntax is:

The first time the function is used a sequence with the specified seqname will be created returning 1.

Every time the function is called an incremental value of seqname will be returned.

When valpattern and fillchar values are set: if the length of the incremental value of seqname is smaller than valpattern string length, the returned value will match valpattern length replacing with fillchar the missing values.

will return XX45 when called the fourtyfifth time.
 * Example

#uml:
The #uml function depends on plantuml extension. It process and returns the plant uml object AFTER processiong the raw wikitext (current limitation of plantuml)

If you are not famliar with uml and wiki extension you might want to check plantuml and PlantUML pages.

will return the uml object after being processed by the PlantUML extension.
 * Example

But this wont work if you use the uml tag in a template and you want to build your uml code with triple braces vaiables, insthead, in your template you can use the  to obtain the same result.

#parsenl:
Processes and returns the input text duplicating new lines and return carriages (usefull to show user input text exaclty as inserted)


 * Example

#mikecho:
echo raw text


 * Example

#ckusergroup:
checks if user belongs to a group (usage example: you can use it with ifexpr within an article or a template in order decide wether or not to perform actions or show content)


 * Example

#makebutton:
makes html button


 * Example

#mikreplace:
replace raw text


 * Example