开发者

MediaWiki: How can I create users programatically?

Context

I would like to integrate [MediaWiki][1] as a helping tool to my system. Only the user of my system should have access to [MediaWiki][1]. So if an user sign in or update her account at my system, this change (login and password) should be in sync with [MediaWiki][1].

Plataform

.NET application and PHP

Possible Solution

MediaWiki extension which provides a webservice for user account managment.

  1. Do you have any idea about how can I accomplish my possible solution or any other solution considering the context I am?
  2. If there isn't an existing plugin, how can work with the mechanics to do a 开发者_JS百科custom solution?


If you have acces to your DB you can use the user-table from mediawiki directly. Here are some informations about this table.


I think you could use the Extension:AutomaticREMOTE_USER extension.


Thanks you all for posting. The answer to my question came about with some insights from you too. But actually, there's no other easy way to create user automatically. I wrote a webservice which handlers the CRUD action for that.

I wouldn't do @tokk suggestion because it is not good to integrate systems architectures through database directly. There's a whole explanation for that.

I wouldn't do @adrian-archer suggestion cause RemoteUser is beyond my context.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜