Avinash
Avinash

Reputation: 801

How to create user page dynamically after registration of user

In mediawiki, how do I create a page for the user dynamically after user registration?

For example, after user xyz get registered, a user page is created with name User:xyz.

How can this be done?

Upvotes: 2

Views: 450

Answers (2)

lambshaanxy
lambshaanxy

Reputation: 23062

Write a MediaWiki extension that hooks into the AddNewAccount hook. See this question for the PHP code for creating new articles within an extension.

Upvotes: 2

Adrian Archer
Adrian Archer

Reputation: 2323

You could definitely create a bot to do this, it probably wouldn't even be difficult.

Upvotes: 0

Related Questions