How to create user page dynamically after registration of user

你离开我真会死。 提交于 2019-12-24 03:10:49

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!