Release status: experimental
|Implementation||User activity, Hook|
|Description||Run actions when a user is newly created.|
|Author(s)||Sébastien Santoro (Derecksontalk)|
|License||GNU General Public License 2.0 or later|
|Translate the NewUserActions extension if it is available at translatewiki.net|
|Issues||Open tasks · Report a bug|
The NewUserActions extension executes configurable actions when a new wiki account is created. It has been inspired by Extension:NewUserMessage.
Actions available edit
Create user page edit
This action allow to create a user page, following a specific template. This can for example be used to offer a generic starting template for user pages.
- Download and place the file(s) in a directory called
- Add the following code at the bottom of your LocalSettings.php file:
- Configure as required
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Global variables edit
There are some global variables which affect the operation of the extension. These should be set in your LocalSettings.php file.
||Specify whether or not the new actions should show up in recent changes. If set to |
||Should the actions edit will be marked as minor.|
||Should auto creation (CentralAuth) trigger the actions?|
||If true, create a new user page.|
In-wiki configuration edit
One of the goal of the extension is to improve flexibility. As such, some parameters are configurable on wiki.
Other settings of the extension can be made in the MediaWiki: namespace.
|Page title||Default value||Meaning|
||Specify a template to use as default new user page.|
||Edit summary for the recent changes entry of a new users message. Always in content language.|
||Set the username of the user that makes the edits. If this user does not exist, "MediaWiki default" will show up as editing user. The user set here is marked as reserved and won't be able to login.|