问题
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?
回答1:
Write a MediaWiki extension that hooks into the AddNewAccount hook. See this question for the PHP code for creating new articles within an extension.
回答2:
You could definitely create a bot to do this, it probably wouldn't even be difficult.
来源:https://stackoverflow.com/questions/8381904/how-to-create-user-page-dynamically-after-registration-of-user