Line 1: Line 1:
 +
===Name===
 +
_createuser
 +
===Type===
 +
_createuser
 +
===Synopsis===
 +
Using a form to register a new user in the Wiki
 +
===Description===
 +
_createuser is very powerfull and needs special attention. This option can create a new user in the Wiki.
 +
===Parameters===
 +
'''_createuser'''
  
 +
'''username''' = [mandetory] The new username to be registered
 +
 +
'''email''' = [mandetory] The email address of the new user
 +
 +
'''realname''' = Option the real name of the user
 +
 +
===Example===
 +
Create a new user with username adje
 +
<syntaxhighlight lang="html">
 +
<_form action="addToWiki" >
 +
<_createuser username="adje" email="ad@wikibase.nl" realname="Ad Strack van Schijndel" />
 +
<_input type="submit" value="create Adje" />
 +
</_form>
 +
</syntaxhighlight>
 +
 +
===Note===
 +
Make sure that when using this powerfull function to have the FlexForm setting "sec" to true for more security. Furthermore, take care where you show such a form.
 +
===Links===
 +
https://www.mediawiki.org/wiki/Multi-Content_Revisions

Revision as of 15:58, 28 March 2022

Name

_createuser

Type

_createuser

Synopsis

Using a form to register a new user in the Wiki

Description

_createuser is very powerfull and needs special attention. This option can create a new user in the Wiki.

Parameters

_createuser

username = [mandetory] The new username to be registered

email = [mandetory] The email address of the new user

realname = Option the real name of the user

Example

Create a new user with username adje

<_form action="addToWiki" >
<_createuser username="adje" email="ad@wikibase.nl" realname="Ad Strack van Schijndel" />
<_input type="submit" value="create Adje" />
</_form>

Note

Make sure that when using this powerfull function to have the FlexForm setting "sec" to true for more security. Furthermore, take care where you show such a form.

Links

https://www.mediawiki.org/wiki/Multi-Content_Revisions

ws-page-props