ShoeMaker
ShoeMaker

Reputation: 833

How do I force new users to fill out their User: page when they create a new account on a MediaWiki wiki?

The unnecessary new user mistakes I'm having to revert on the wiki are getting annoying.. Is there any way for me to preload their User:Username with instructions on finding any help they may need and links to places to ask questions, further-more, is there any way to require new users to make three User:Username / User_talk:Username / User_talk:SomeAdmin page edits before editing other pages?

Upvotes: 1

Views: 118

Answers (3)

ShoeMaker
ShoeMaker

Reputation: 833

Since I have no power to install/remove extensions on this wiki, I had to go with what I have. The wiki has Extension:InputBox installed.. So, I set up Template:Welcome, created a preload, and set up MediaWiki:Welcomecreation with a simple button that does most of the heavy lifting so to speak... It does not actually force anything, but gives all of the needed information and has a similar final output to what I was looking for.

Upvotes: 1

Another "trick" I've used is using the NewUserMessage extension to ask users to add this information.

Upvotes: 1

I don't know how to force it, but here is a trick I use:

  1. Download and install the MyVariables extension.
  2. Create a template to use it called {{User name}} - code below.
  3. Include this template in a welcome message on your main page. The user will then see either Welcome <their name> if they have filled it in or Welcome enter your user name if they have not.

Two points on this template:

  • if they have not entered their name, the text links to a page explaining how to do that (you will need to create this),
  • if they have entered their name, the text links to MY PREFERENCES where they can update their user data.

Of course, you can change this if that is overkill.

The code:

{{#if:{{CURRENTUSERREALNAME}}|[[MY PREFERENCES|{{CURRENTUSERREALNAME}}]]|[[How to create your user profile on this wiki|enter your user name]]}}<noinclude>

<Add text here explaining the template, or just link to this stackoverflow page!>

[[Category:Template]]

</noinclude>

Upvotes: 1

Related Questions